diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-22 18:13:57 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-22 18:13:57 +0000 |
commit | a0f78e3b8f42ccacd4ece05e90d7126e9a8e9777 (patch) | |
tree | 6ed76bb965eb7a0eb524931a1bbbf576510f0da5 /ui_util.h | |
parent | f799c98aa5eecf0d2d6c6149d25fa823e34af6df (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
svn path=/trunk/; revision=9777
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); |