aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.h
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2000-08-17 21:02:10 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2000-08-17 21:02:10 +0000
commitc06276085e3c78933fcb66d5aeeb51da979edd37 (patch)
tree68f3a056c73a0109d04718f8ad8db7056382a8e7 /prefs.h
parent9e2ab759e5f2a0c8497f635834e1d2b14285d3c0 (diff)
Add a comment about the use of prefs_register_module() in protocol dissectors
(the name should match the one specified at the proto_register_protocol() call). svn path=/trunk/; revision=2287
Diffstat (limited to 'prefs.h')
-rw-r--r--prefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/prefs.h b/prefs.h
index 380507a35e..3738ee6f14 100644
--- a/prefs.h
+++ b/prefs.h
@@ -1,7 +1,7 @@
/* prefs.h
* Definitions for preference handling routines
*
- * $Id: prefs.h,v 1.19 2000/08/15 20:53:31 deniel Exp $
+ * $Id: prefs.h,v 1.20 2000/08/17 21:02:10 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -64,6 +64,10 @@ typedef struct pref_module module_t;
* Specify the name used for the module in the preferences file, the
* title used in the tab for it in a preferences dialog box, and a
* routine to call back when we apply the preferences.
+ * Note:
+ * In case of dissectors, the specified name should be the protocol
+ * name specified at the proto_register_protocol() call in order to
+ * make the "Protocol Properties..." menu item work.
*/
module_t *prefs_register_module(const char *name, const char *title,
void (*apply_cb)(void));