diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-22 18:13:57 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-22 18:13:57 +0000 |
commit | b575db290214549280db5161edb80672dc1d30f1 (patch) | |
tree | 6ed76bb965eb7a0eb524931a1bbbf576510f0da5 /ui_util.h | |
parent | 4ce027a612e229d9a8cb146f64c0b6d885ea6882 (diff) |
moved GTK specific parts from capture.c to ui_util.c,
implemented Win32 "Capture Stop" when using
"update list of packets in realtime" while capturing
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9777 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ui_util.h')
-rw-r--r-- | ui_util.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* ui_util.h * Definitions for UI utility routines * - * $Id: ui_util.h,v 1.15 2004/01/10 17:29:26 ulfl Exp $ + * $Id: ui_util.h,v 1.16 2004/01/22 18:13:56 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -32,6 +32,19 @@ extern "C" { /* Set the name of the top-level window and its icon. */ void set_main_window_name(gchar *); +/* update the main window */ +extern void main_window_update(void); +/* exit the main window */ +extern void main_window_exit(void); +/* quit a nested main window */ +extern void main_window_nested_quit(void); +/* quit the main window */ +extern void main_window_quit(void); + +/* read from a pipe */ +typedef gboolean (*pipe_input_cb_t) (gint source, gpointer user_data); +extern void pipe_input_set_handler(gint source, gpointer user_data, int *child_process, pipe_input_cb_t input_cb); + /* packet list related functions */ void packet_list_clear(void); void packet_list_freeze(void); |