aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-24 02:22:36 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-24 02:22:36 +0000
commite53bf053f98b3210d5ab2e38c3ba6dc4ef4670ba (patch)
treec33d5e53df237a25b990dc4d1e6646aa0899b33b /gtk/main.h
parent2a691a0aeccb8a2b41a62bf02cbcea83c8109df4 (diff)
For now, just refer to global_capture_opts, replacing references to the
now-defult global capture_opts pointer; we eventually should try to minimize the use of global variables. Export global_capture_opts from gtk/main.h. Clean up indentation. svn path=/trunk/; revision=25571
Diffstat (limited to 'gtk/main.h')
-rw-r--r--gtk/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/main.h b/gtk/main.h
index 40442bfee0..a53f2fafe0 100644
--- a/gtk/main.h
+++ b/gtk/main.h
@@ -332,6 +332,10 @@ extern void prefs_to_capture_opts(void);
/** Change configuration profile */
extern void change_configuration_profile(const gchar *profile_name);
+#ifdef HAVE_LIBPCAP
+extern capture_opts global_capture_opts;
+#endif
+
extern GtkWidget *pkt_scrollw;
#endif /* __MAIN_H__ */