aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-12-29 12:37:06 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-12-29 12:37:06 +0000
commitd9be4670a7b136db6e7c7ecfbc9dcc75dd010b63 (patch)
tree7512cc6ef5d8483bfb5e9a534dd33976fbf7bff8 /capture.h
parent316569ef2b5d16fdaeb3085e16c081cb290df7e4 (diff)
move global capture_child flag into capture_options
svn path=/trunk/; revision=12855
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/capture.h b/capture.h
index bd4d5472a5..0b2bec89ed 100644
--- a/capture.h
+++ b/capture.h
@@ -46,6 +46,7 @@ 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" */
/* GUI related */
gboolean sync_mode; /**< Fork a child to do the capture,
@@ -77,9 +78,6 @@ typedef struct capture_options_tag {
gint32 autostop_duration; /**< Maximum capture duration */
} capture_options;
-/** True if this is the child for "-S" */
-extern gboolean capture_child;
-
/** Open a specified file, or create a temporary file, and start a capture
* to the file in question.