diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-03 22:38:50 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-03 22:38:50 +0000 |
commit | f856dbafa830a562da34b1aaf636fb941aa5a7c9 (patch) | |
tree | 628b6300241e9d52074a65bb42ffac05b6e5fe26 /capture_loop.h | |
parent | 8fdb9b2df974a38491cdcabc3e68ae2f66f15972 (diff) | |
download | wireshark-f856dbafa830a562da34b1aaf636fb941aa5a7c9.tar.gz wireshark-f856dbafa830a562da34b1aaf636fb941aa5a7c9.tar.bz2 wireshark-f856dbafa830a562da34b1aaf636fb941aa5a7c9.zip |
split some parts of the packet counting functions into their own files capture_info(.c/.h),
so we can use it from the main program
svn path=/trunk/; revision=16668
Diffstat (limited to 'capture_loop.h')
-rw-r--r-- | capture_loop.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/capture_loop.h b/capture_loop.h index 9b57499706..1a89d90f5a 100644 --- a/capture_loop.h +++ b/capture_loop.h @@ -40,32 +40,4 @@ extern int capture_loop_start(capture_options *capture_opts, gboolean *stats_kn extern void capture_loop_stop(void); - -/** Current Capture info. */ -typedef struct { - /* handles */ - gpointer callback_data; /**< capture callback handle */ - gpointer ui; /**< user interfaces own handle */ - - /* capture info */ - packet_counts *counts; /**< protocol specific counters */ - time_t running_time; /**< running time since last update */ - gint new_packets; /**< packets since last update */ -} capture_info; - - -/** Create the capture info dialog */ -extern void capture_info_create( -capture_info *cinfo, -gchar *iface); - -/** Update the capture info counters in the dialog */ -extern void capture_info_update( -capture_info *cinfo); - -/** Destroy the capture info dialog again */ -extern void capture_info_destroy( -capture_info *cinfo); - - #endif /* capture_loop.h */ |