diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-08-24 15:25:42 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-08-24 15:25:42 +0000 |
commit | 5f2783de056b0e9f5c219cba3317eb69734f6b3b (patch) | |
tree | c46b3457c5ac237b871c02b0a2f19b2be406e6b5 /ui/ui_util.h | |
parent | 64d81e7477ec32dec9fa48facb5a4024e7bc5ab2 (diff) | |
download | wireshark-5f2783de056b0e9f5c219cba3317eb69734f6b3b.tar.gz |
Revert r44644 and 44645. g_source_*, g_timeout_, and g_io_* all depend
on the GLib main loop which isn't portable (unless you want to want to
manage the main loop yourself).
svn path=/trunk/; revision=44655
Diffstat (limited to 'ui/ui_util.h')
-rw-r--r-- | ui/ui_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ui_util.h b/ui/ui_util.h index 0132148e5d..0afadca0cc 100644 --- a/ui/ui_util.h +++ b/ui/ui_util.h @@ -56,6 +56,11 @@ extern void main_window_nested_quit(void); /* quit the main window */ extern void main_window_quit(void); +/* read from a pipe (callback) */ +typedef gboolean (*pipe_input_cb_t) (gint source, gpointer user_data); +/* install callback function, called if pipe input is available */ +extern void pipe_input_set_handler(gint source, gpointer user_data, int *child_process, pipe_input_cb_t input_cb); + /* packet_list.c */ void new_packet_list_clear(void); |