From 6d161f7dc49b8f1fdff18c4fce9dbdfbccedd905 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Tue, 28 Dec 2004 00:10:04 +0000 Subject: add a more detailed description, how to add a new dissector file svn path=/trunk/; revision=12847 --- doc/README.developer | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3