diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 12:37:06 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-12-29 12:37:06 +0000 |
commit | d9be4670a7b136db6e7c7ecfbc9dcc75dd010b63 (patch) | |
tree | 7512cc6ef5d8483bfb5e9a534dd33976fbf7bff8 /capture.h | |
parent | 316569ef2b5d16fdaeb3085e16c081cb290df7e4 (diff) |
move global capture_child flag into capture_options
svn path=/trunk/; revision=12855
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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. |