diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-10-31 11:34:35 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-01 05:09:10 +0000 |
commit | 8b977a43d68d8fd9c2c7e7b8ccc0711df13c64ee (patch) | |
tree | 65e161a12e70ac3dade19f0781fa26315a419d94 /capture_opts.h | |
parent | 01784a594698d5d358c1d80319e77b68c939f7d7 (diff) |
Move condition logic to dumpcap.c
Move the condition logic from capture_stop_conditions.c to dumpcap.c.
Remove capture_stop_conditions.[ch] and conditions.[ch].
Switch duration values to doubles.
Change-Id: Ifa74fb13ec8fc923b0721597a6cf071d72069ea0
Reviewed-on: https://code.wireshark.org/review/30440
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capture_opts.h b/capture_opts.h index d0b433706f..a403b495a2 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -290,7 +290,7 @@ typedef struct capture_options_tag { 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 */ + gdouble file_duration; /**< Switch file after n seconds */ gboolean has_file_interval; /**< TRUE if ring interval specified */ gint32 file_interval; /**< Create time intervals of n seconds */ gboolean has_ring_num_files; /**< TRUE if ring num_files specified */ @@ -306,10 +306,10 @@ typedef struct capture_options_tag { int autostop_packets; /**< Maximum packet count */ gboolean has_autostop_filesize; /**< TRUE if maximum capture file size is specified */ - guint32 autostop_filesize; /**< Maximum capture file size */ + guint32 autostop_filesize; /**< Maximum capture file size in kB */ gboolean has_autostop_duration; /**< TRUE if maximum capture duration is specified */ - gint32 autostop_duration; /**< Maximum capture duration */ + gdouble autostop_duration; /**< Maximum capture duration */ gchar *capture_comment; /** capture comment to write to the output file */ |