aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-05 00:43:00 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-05 00:43:00 +0000
commit815a8200fee4b0013d80cf65f1312471b08cadf6 (patch)
tree1142d10d64806b516922b508499e7ccb654a94af /epan/prefs.h
parent26e714ad474999f4a62000ba4850058831de850a (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20037 f5534014-38df-0310-8fa8-9805f1628bb7
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,