diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-30 14:30:52 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-10-30 14:30:52 +0000 |
commit | abfa590fe53ef4be90930f4f7625f34530a3eaf8 (patch) | |
tree | 4ecf48d5b3921be053a31df033692c8fbe9ae927 /capture.h | |
parent | 287e331cea81f4135fa7e2ebb05354c1a9c75647 (diff) |
move quit_after_cap into capture_opts
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12449 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -36,6 +36,7 @@ /** Capture options coming from user interface */ typedef struct { + /* general */ #ifdef _WIN32 int buffer_size; /**< the capture buffer size (MB) */ #endif @@ -45,16 +46,22 @@ typedef struct { int promisc_mode; /**< Capture in promiscuous mode */ int linktype; /**< Data link type to use, or -1 for "use default" */ + + /* GUI related */ int sync_mode; /**< Fork a child to do the capture, and sync between them */ gboolean show_info; /**< show the info dialog */ + gboolean quit_after_cap; /** Makes a "capture only mode". Implies -k */ + /* multiple files (and ringbuffer) */ gboolean multi_files_on; /**< TRUE if ring buffer in use */ gboolean has_file_duration; /**< TRUE if ring duration specified */ gint32 file_duration; /* Switch file after n seconds */ gboolean has_ring_num_files;/**< TRUE if ring num_files specified */ guint32 ring_num_files; /**< Number of multiple buffer files */ + + /* autostop conditions */ gboolean has_autostop_files;/**< TRUE if maximum number of capture files are specified */ gint32 autostop_files; /**< Maximum number of capture files */ @@ -73,10 +80,7 @@ typedef struct { /** Global capture options. */ extern capture_options capture_opts; -/** Makes a "capture only mode". Implies -k */ -extern gboolean quit_after_cap; - -/** If this is the child for "-S" */ +/** 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 |