aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-07-07 08:15:41 +0000
committerGuy Harris <guy@alum.mit.edu>2012-07-07 08:15:41 +0000
commit85f219be2e41191971218a632022f590003f992c (patch)
tree83e8e6d8fc2e605d78ee7497db3f4e2587fbd013 /epan/prefs.h
parentef825ec6d3e07e97a85d52e116338c08c2637432 (diff)
From Michael Mann:
Add a preference for the packet length statistics. Fixes bug 3239. svn path=/trunk/; revision=43597
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 066f136a73..b7ea7d8025 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -221,6 +221,20 @@ extern module_t *prefs_register_subtree(module_t *parent, const char *title,
extern module_t *prefs_register_protocol(int id, void (*apply_cb)(void));
/*
+ * Register that a statistical tap has preferences.
+ *
+ * "name" is a name for the tap to use on the command line with "-o"
+ * and in preference files.
+ *
+ * "title" is a short human-readable name for the tap.
+ *
+ * "description" is a longer human-readable description of the tap.
+ */
+extern module_t *prefs_register_stat(const char *name, const char *title,
+ const char *description,
+ void (*apply_cb)(void));
+
+/*
* Register that a protocol has preferences and group it under a single
* subtree
*/