From d9be4670a7b136db6e7c7ecfbc9dcc75dd010b63 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Wed, 29 Dec 2004 12:37:06 +0000 Subject: move global capture_child flag into capture_options svn path=/trunk/; revision=12855 --- capture.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'capture.h') 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. -- cgit v1.2.3