aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-15 19:38:13 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-15 19:38:13 +0000
commite1e576c11b894bb34030729ee48cc4d71cc7d4eb (patch)
tree73fa309ee3867342ee0e8b7bf408b095d811bdb3 /epan/prefs.h
parent2de348060c2536940e0ba48ad059dc3b028a8302 (diff)
Support monitor mode in the capture preferences.
Use prefs_is_capture_device_hidden() to find out whether a device should be hidden - don't scan the list of hidden devices ourselves. svn path=/trunk/; revision=32820
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 68c97cbc14..c15b966afa 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -153,6 +153,7 @@ typedef struct _e_prefs {
gchar *capture_devices_linktypes;
gchar *capture_devices_descr;
gchar *capture_devices_hide;
+ gchar *capture_devices_monitor_mode;
gboolean capture_prom_mode;
gboolean capture_pcap_ng;
gboolean capture_real_time;
@@ -447,4 +448,9 @@ extern prefs_set_pref_e prefs_set_pref(char *prefarg);
*/
extern gboolean prefs_is_capture_device_hidden(const char *name);
+/*
+ * Returns TRUE if the given device should capture in monitor mode by default
+ */
+extern gboolean prefs_capture_device_monitor_mode(const char *name);
+
#endif /* prefs.h */