aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-12-05 00:43:00 +0000
committerGerald Combs <gerald@wireshark.org>2006-12-05 00:43:00 +0000
commit40ca2718134111fb6c2e9c21c5a0375f47d64175 (patch)
tree1142d10d64806b516922b508499e7ccb654a94af /epan/prefs.h
parentf6bdcf2251bb453be523f16eec172cd2f49b978f (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.h6
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,