X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=doclib%2Fpkgdraw;h=895330f320a15bb62c9a8b3a40f49a3a0fdb06b4;hb=25976ed67c66d30811fa0a01043e50347e9d1e69;hp=804951408ff2208f0dc514cb5d903e9f0375ecba;hpb=2265e2dcc8c6fc6a35f63d68119a795974cf2ee7;p=senf.git diff --git a/doclib/pkgdraw b/doclib/pkgdraw index 8049514..895330f 100755 --- a/doclib/pkgdraw +++ b/doclib/pkgdraw @@ -1,4 +1,33 @@ #!/usr/bin/python +# +# Usage: +# pkgdraw
[...] [-- ...] +# +# Extract packet structure from
. Write generated PNG diagram +# to . If is given, it is a list names of +# parsers to generate diagrams for. All other parsers from the same +# header file will be skipped. +# +# are parsed to the C preprocessor while processing the +# header file. +# +# pkgdraw will interpret most SENF_PARSER statements, it does however +# *not* understand GOTO statements. Special comments may be added +# directly before or after a field to pass parameters to pkgdraw +# +# SENF_PARSER_FIELD( id, senf::UInt16Parser ); //,