aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-04 11:32:25 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-04 11:32:25 +0000
commit3232ccbf8d9c70a6590d1a9b0a9d96b91d35bc57 (patch)
tree9b73eccad5cbeeb7b207a17633570ae787387708 /file.h
parentfc1fe6f358d24d17a2f3dc0c321802ad752aff85 (diff)
To find out the file's packet encapsulation type (which could be
WTAP_ENCAP_PER_PACKET, if there's more than one type of packet in the file, or could be WTAP_ENCAP_UNKNOWN, if the file is of a type that doesn't put an encapsulation type in the file header, and it has no packets), we just need to call "wtap_file_encap()" when we're done reading the file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1205 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.h b/file.h
index 6680467cc1..6953eb8516 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.59 1999/12/04 08:59:13 guy Exp $
+ * $Id: file.h,v 1.60 1999/12/04 11:32:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -81,7 +81,6 @@ typedef struct _capture_file {
gboolean user_saved;/* If capture file is temporary, has it been saved by user yet? */
long f_len; /* Length of capture file */
guint16 cd_t; /* File type of capture file */
- gboolean first_packet; /* TRUE if we're looking at the first packet */
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 */