X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=doclib%2Fpkgdraw;h=895330f320a15bb62c9a8b3a40f49a3a0fdb06b4;hb=25976ed67c66d30811fa0a01043e50347e9d1e69;hp=010262349e0fcb74c9a697306494e8861a1da4db;hpb=5093ab07f55b7f5830c7fad1305c7e533493f949;p=senf.git diff --git a/doclib/pkgdraw b/doclib/pkgdraw index 0102623..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 ); //,