31 capture_cb_capture_prepared,
32 capture_cb_capture_update_started,
33 capture_cb_capture_update_continue,
34 capture_cb_capture_update_finished,
35 capture_cb_capture_fixed_started,
36 capture_cb_capture_fixed_continue,
37 capture_cb_capture_fixed_finished,
38 capture_cb_capture_stopping,
39 capture_cb_capture_failed
42typedef void (*capture_callback_t) (
int event,
capture_session *cap_session,
84 void(*update_cb)(
void));
100struct if_stat_cache_s;
101typedef struct if_stat_cache_s if_stat_cache_t;
125extern bool capture_stats(if_stat_cache_t *sc,
char *ifname,
struct pcap_stat *ps);
bool capture_start(capture_options *capture_opts, GPtrArray *capture_comments, capture_session *cap_session, info_data_t *cap_data, void(*update_cb)(void))
WS_RETNONNULL if_stat_cache_t * capture_stat_start(capture_options *capture_opts)
Start gathering capture statistics for the interfaces specified.
void capture_input_init(capture_session *cap_session, capture_file *cf)
void capture_stat_stop(if_stat_cache_t *sc)
Stop gathering capture statistics.
void capture_callback_remove(capture_callback_t func, void *user_data)
Remove a capture callback.
void capture_stop(capture_session *cap_session)
Stop a capture session (usually from a menu item).
void capture_kill_child(capture_session *cap_session)
Terminate the capture child cleanly when exiting.
void capture_callback_add(capture_callback_t func, void *user_data)
Add a capture callback.
WS_RETNONNULL if_stat_cache_t * capture_interface_stat_start(capture_options *capture_opts, GList **if_list)
Retrieve the list of interfaces and their capabilities, and start gathering capture statistics for th...
Definition capture_session.h:136
Definition capture_info.h:40
Definition capture_opts.h:236