From a0f78e3b8f42ccacd4ece05e90d7126e9a8e9777 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 22 Jan 2004 18:13:57 +0000 Subject: 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 --- ui_util.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ui_util.h') diff --git a/ui_util.h b/ui_util.h index 4cfb4d826c..9ceea0583d 100644 --- a/ui_util.h +++ b/ui_util.h @@ -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 @@ -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); -- cgit v1.2.3