diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-12-05 00:43:00 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-12-05 00:43:00 +0000 |
commit | 40ca2718134111fb6c2e9c21c5a0375f47d64175 (patch) | |
tree | 1142d10d64806b516922b508499e7ccb654a94af /epan/prefs.h | |
parent | f6bdcf2251bb453be523f16eec172cd2f49b978f (diff) |
From Giorgio Tino: Add a "static text" protocol preference type. This
can be used to add descriptive text inline with other preference items.
The "preference" contents are not written to disk.
Fixup whitespace.
svn path=/trunk/; revision=20037
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index d8c5b89615..1aa0751b25 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -308,6 +308,12 @@ extern void prefs_register_range_preference(module_t *module, const char *name, guint32 max_value); /* + * Register a static text 'preference'. It can be used to add some info/explanation. + */ +extern void prefs_register_static_text_preference(module_t *module, const char *name, + const char *title, const char *description); + +/* * Register a preference that used to be supported but no longer is. */ extern void prefs_register_obsolete_preference(module_t *module, |