aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-18 05:45:58 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-18 05:45:58 +0000
commitd2d999fb74af7ed77d595652580ce9b14361e80b (patch)
tree387b3347595275c70782d1a6c393bd579edec4f1 /file.h
parent1ae90b3d249dd261c3e6bb705d7afcdd1bb1685e (diff)
downloadwireshark-d2d999fb74af7ed77d595652580ce9b14361e80b.tar.gz
wireshark-d2d999fb74af7ed77d595652580ce9b14361e80b.tar.bz2
wireshark-d2d999fb74af7ed77d595652580ce9b14361e80b.zip
Check the validity of numbers specified in command-line options.
svn path=/trunk/; revision=3326
Diffstat (limited to 'file.h')
-rw-r--r--file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.h b/file.h
index a71c7e556a..3429dfae83 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.81 2001/02/11 09:28:15 guy Exp $
+ * $Id: file.h,v 1.82 2001/04/18 05:45:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -67,12 +67,12 @@ typedef struct _capture_file {
guint16 cd_t; /* File type of capture file */
int lnk_t; /* Link-layer type with which to save capture */
guint32 vers; /* Version. For tcpdump minor is appended to major */
- guint32 count; /* Packet count */
+ int count; /* Packet count */
gboolean drops_known; /* TRUE if we know how many packets were dropped */
guint32 drops; /* Dropped packets */
guint32 esec; /* Elapsed seconds */
guint32 eusec; /* Elapsed microseconds */
- guint32 snap; /* Captured packet length */
+ int snap; /* Captured packet length */
long progbar_quantum; /* Number of bytes read per progress bar update */
long progbar_nextstep; /* Next point at which to update progress bar */
gchar *iface; /* Interface */