aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-04 19:31:21 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-04 19:31:21 +0000
commit938551c55ffdddcaf05fd909edcff663e97795d4 (patch)
tree4cf4b3c2ab7ed02fd405df498fb4f893dd7b03dd /capture.h
parent51eedefb573e09029080181d0a67e743f63a36d4 (diff)
fixed differences between capture GUI frontend and backend
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10303 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/capture.h b/capture.h
index c6b6eda124..09d79cb788 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.42 2004/03/02 22:07:21 ulfl Exp $
+ * $Id: capture.h,v 1.43 2004/03/04 19:31:20 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -42,24 +42,23 @@ typedef struct {
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 num_files; /* Number of multiple buffer files */
- gboolean has_ring_duration; /* TRUE if ring duration specified */
- gint32 ringbuffer_duration; /* Switch file after n seconds */
+ guint32 ring_num_files; /* Number of multiple buffer files */
+ gboolean has_autostop_files;/* TRUE if maximum number of capture files
+ are specified */
+ gint32 autostop_files; /* Maximum number of capture files */
- gboolean has_autostop_count; /* TRUE if maximum packet count is
+ gboolean has_autostop_packets; /* TRUE if maximum packet count is
specified */
- int autostop_count; /* Maximum packet count */
- gboolean has_autostop_duration; /* TRUE if maximum capture duration
- is specified */
- gint32 autostop_duration; /* Maximum capture duration */
+ int autostop_packets; /* Maximum packet count */
gboolean has_autostop_filesize; /* TRUE if maximum capture file size
is specified */
gint32 autostop_filesize; /* Maximum capture file size */
-
- gboolean has_autostop_files;/* TRUE if maximum number of capture files
- are specified */
- gint32 autostop_files; /* Maximum number of capture files */
+ gboolean has_autostop_duration; /* TRUE if maximum capture duration
+ is specified */
+ gint32 autostop_duration; /* Maximum capture duration */
} capture_options;
extern capture_options capture_opts;