diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-28 15:31:13 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-28 15:31:13 +0000 |
commit | c26e1920621bf01daedb8c66d9363d413f1a52d0 (patch) | |
tree | afad86f42c3922fe5312deb0752f39c15db559ed /capture.h | |
parent | bfa4f715fd9f5eca476fd9f394f5293a09a03079 (diff) |
remove capture_child flag from capture_opts as it's no longer required
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13954 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -50,7 +50,6 @@ typedef struct capture_options_tag { gboolean promisc_mode; /**< Capture in promiscuous mode */ int linktype; /**< Data link type to use, or -1 for "use default" */ - gboolean capture_child; /**< True if this is the child for "-S" */ gchar *save_file; /**< the capture file name */ /* GUI related */ @@ -118,16 +117,21 @@ extern void capture_input_new_packets(capture_options *capture_opts, int to_read */ extern void capture_input_closed(capture_options *capture_opts); -/** Do the low-level work of a capture (start the capture child). - * Returns TRUE if it succeeds, FALSE otherwise. */ -extern int capture_child_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_stat *stats); - /** Stop a capture (usually from a menu item). */ extern void capture_stop(capture_options *capture_opts); /** Terminate the capture child cleanly when exiting. */ extern void capture_kill_child(capture_options *capture_opts); + + +/** Do the low-level work of a capture (start the capture child). + * Returns TRUE if it succeeds, FALSE otherwise. */ +extern int capture_child_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_stat *stats); + +/** Stop a capture child (usually from a menu item). */ +extern void capture_child_stop(capture_options *capture_opts); + /** Do the low-level work of a capture. * Returns TRUE if it succeeds, FALSE otherwise. */ extern int capture_loop_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_stat *stats); |