12 #ifndef __CAPCHILD_CAPTURE_SESSION_H__
13 #define __CAPCHILD_CAPTURE_SESSION_H__
16 #include <sys/types.h>
22 #include <epan/fifo_string_cache.h>
53 typedef bool (*new_file_fn)(
capture_session *cap_session,
char *new_file);
58 typedef void (*new_packets_fn)(
capture_session *cap_session,
int to_read);
63 typedef void (*drops_fn)(
capture_session *cap_session, uint32_t dropped,
64 const char *interface_name);
71 char *secondary_error_msg);
77 typedef void (*cfilter_error_fn)(
capture_session *cap_session,
unsigned i,
78 const char *error_message);
90 ws_process_id fork_child;
91 int fork_child_status;
94 int signal_pipe_write_fd;
101 bool session_will_restart;
103 uint32_t count_pending;
113 GChecksum *frame_cksum;
119 new_file_fn new_file;
120 new_packets_fn new_packets;
123 cfilter_error_fn cfilter_error;
129 new_file_fn new_file, new_packets_fn new_packets,
130 drops_fn drops, error_fn error,
131 cfilter_error_fn cfilter_error, closed_fn closed);
Definition: capture_session.h:137
Definition: capture_info.h:40
Definition: capture_opts.h:248
Definition: fifo_string_cache.h:21
Definition: wtap-int.h:36