From: g0dil Date: Thu, 25 Jun 2009 12:34:43 +0000 (+0000) Subject: Add short documentation to pkgdraw X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=0fd6394487ca1a8fcc7e684e63e69a7a1e3cab99;p=senf.git Add short documentation to pkgdraw git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1241 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/doclib/pkgdraw b/doclib/pkgdraw index 0102623..4f80472 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 ); //,