aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 15:31:13 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 15:31:13 +0000
commit9d6ac60cefff17895674beaf30447b7a2c9285fc (patch)
treeafad86f42c3922fe5312deb0752f39c15db559ed /capture.h
parentdaa67c79ba2b65c3893ffdf9022c5cf64025c4e7 (diff)
remove capture_child flag from capture_opts as it's no longer required
svn path=/trunk/; revision=13954
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/capture.h b/capture.h
index 1fb9e0d697..2acffc4738 100644
--- a/capture.h
+++ b/capture.h
@@ -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);