aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.h
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2012-01-24 16:05:26 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2012-01-24 16:05:26 +0000
commit08d67854125c80c95478e4de75c4a201a2e4145d (patch)
treecb50582f4c3e70cae4fc3de712152dfe4416d607 /ui/gtk/main.h
parent73cefbad157acd5e5b39e994eeabfe12fc3bedc9 (diff)
Second try. This time pipes and stdin are supported.
Use a global list containing all interfaces and only change properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=40693
Diffstat (limited to 'ui/gtk/main.h')
-rw-r--r--ui/gtk/main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/gtk/main.h b/ui/gtk/main.h
index 47a6599b06..e86d1c0f0f 100644
--- a/ui/gtk/main.h
+++ b/ui/gtk/main.h
@@ -26,6 +26,7 @@
#define __MAIN_H__
#include "globals.h"
+#include "capture_opts.h"
/** @defgroup main_window_group Main window
* The main window has the following submodules:
@@ -332,10 +333,10 @@ extern gboolean main_filter_packets(capture_file *cf, const gchar *dftext,
#ifdef _WIN32
/** Win32 only: Create a console. Beware: cannot be closed again. */
extern void create_console(void);
-#endif
/** Restart the tap update display timer with new configured interval */
extern void reset_tap_update_timer(void);
+#endif
/** Fill in capture options with values from the preferences */
extern void prefs_to_capture_opts(void);
@@ -351,4 +352,7 @@ extern GList *get_ip_address_list_from_packet_list_row(gpointer data);
extern GtkWidget *pkt_scrollw;
+void hide_interface(gchar* new_hide);
+
+
#endif /* __MAIN_H__ */