diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-06-24 08:05:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-06-24 08:05:45 +0000 |
commit | c4932893e3e4021b33cf4e886ae38523638363da (patch) | |
tree | b06a933329fb307a380a74b2f3f63c06cfacc356 /file.h | |
parent | a9ffacc1b3e6f3a7ae8a525bed3879f19bc142d3 (diff) |
Have separate callback mechanisms in file.c and capture.c; pass the
capture callbacks the capture_options * as its second argument in all
cases. This makes it a bit clearer what arguments callbacks take, and
means we can get rid of all global_capture_opts references in
gtk/main_statusbar.c.
Put the interface between gtk/main.c and gtk/main_statusbar.c into a
private header.
svn path=/trunk/; revision=25576
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -60,16 +60,6 @@ typedef enum { cf_cb_file_closed, cf_cb_file_read_start, cf_cb_file_read_finished, -#ifdef HAVE_LIBPCAP - cf_cb_live_capture_prepared, - cf_cb_live_capture_update_started, - cf_cb_live_capture_update_continue, - cf_cb_live_capture_update_finished, - cf_cb_live_capture_fixed_started, - cf_cb_live_capture_fixed_continue, - cf_cb_live_capture_fixed_finished, - cf_cb_live_capture_stopping, -#endif cf_cb_packet_selected, cf_cb_packet_unselected, cf_cb_field_unselected, @@ -82,9 +72,6 @@ typedef enum { typedef void (*cf_callback_t) (gint event, gpointer data, gpointer user_data); extern void -cf_callback_invoke(int event, gpointer data); - -extern void cf_callback_add(cf_callback_t func, gpointer user_data); extern void |