diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-12-28 00:10:04 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-12-28 00:10:04 +0000 |
commit | 6d161f7dc49b8f1fdff18c4fce9dbdfbccedd905 (patch) | |
tree | 9a3f1a28d9da7a9ac588003a222d519ba0887701 /doc | |
parent | 7f666b77a50c49199bdb8306d7cc67bacca8e7be (diff) | |
download | wireshark-6d161f7dc49b8f1fdff18c4fce9dbdfbccedd905.tar.gz wireshark-6d161f7dc49b8f1fdff18c4fce9dbdfbccedd905.tar.bz2 wireshark-6d161f7dc49b8f1fdff18c4fce9dbdfbccedd905.zip |
add a more detailed description, how to add a new dissector file
svn path=/trunk/; revision=12847
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index ec82fc2022..9c7477fd64 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -415,6 +415,12 @@ that where possible you keep to the IANA abbreviated name for the protocol, if there is one, or a commonly-used abbreviation for the protocol, if any. +Usually, you will put your newly created dissector file into the directory +epan/dissectors, just like all the other packet-....c files already in there. + +Also, please remind to add your dissector file to the corresponding makefile, +described in chapter "1.9 Editing Makefile.common to add your dissector" below. + Dissectors that use the dissector registration to tell a lower level dissector don't need to define a prototype in the .h file. For other dissectors the main dissector routine should have a prototype in a header |