aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/toshiba.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-05-19 08:18:17 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-05-19 08:18:17 +0000
commit39e5671d8f9f58bc04df1e8da7da701a1e4d5bac (patch)
treecae7f818bec5f894f09f67cc380f7fd15aa17f58 /wiretap/toshiba.c
parentff50ca0ccde14905dce01615cff7cf03b1c7bc01 (diff)
In Wiretap, a file stream handle is a "FILE_T", not a "FILE_T *" (a
"FILE_T" is either a "gzFile" or a "FILE *", depending on whether zlib support is enabled or not). Fix various function declarations and definitions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1984 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/toshiba.c')
-rw-r--r--wiretap/toshiba.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/toshiba.c b/wiretap/toshiba.c
index 363ef0bdcc..2072e41190 100644
--- a/wiretap/toshiba.c
+++ b/wiretap/toshiba.c
@@ -1,6 +1,6 @@
/* toshiba.c
*
- * $Id: toshiba.c,v 1.9 2000/05/18 09:09:46 guy Exp $
+ * $Id: toshiba.c,v 1.10 2000/05/19 08:18:17 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -107,8 +107,8 @@ static const char toshiba_rec_magic[] = { '[', 'N', 'o', '.' };
static int toshiba_read(wtap *wth, int *err);
static int toshiba_seek_read(wtap *wth, int seek_off, union pseudo_header *pseudo_header, guint8 *pd, int len);
static gboolean parse_single_hex_dump_line(char* rec, guint8 *buf, int byte_offset);
-static int parse_toshiba_hex_dump(FILE_T *fh, int pkt_len, guint8* buf, int *err);
-static int parse_toshiba_rec_hdr(wtap *wth, FILE_T *fh,
+static int parse_toshiba_hex_dump(FILE_T fh, int pkt_len, guint8* buf, int *err);
+static int parse_toshiba_rec_hdr(wtap *wth, FILE_T fh,
union pseudo_header *pseudo_header, int *err);
/* Seeks to the beginning of the next packet, and returns the
@@ -250,7 +250,7 @@ toshiba_seek_read (wtap *wth, int seek_off, union pseudo_header *pseudo_header,
/* Parses a packet record header. */
static int
-parse_toshiba_rec_hdr(wtap *wth, FILE_T *fh,
+parse_toshiba_rec_hdr(wtap *wth, FILE_T fh,
union pseudo_header *pseudo_header, int *err)
{
char line[TOSHIBA_LINE_LENGTH];
@@ -339,7 +339,7 @@ parse_toshiba_rec_hdr(wtap *wth, FILE_T *fh,
/* Converts ASCII hex dump to binary data */
static int
-parse_toshiba_hex_dump(FILE_T *fh, int pkt_len, guint8* buf, int *err)
+parse_toshiba_hex_dump(FILE_T fh, int pkt_len, guint8* buf, int *err)
{
char line[TOSHIBA_LINE_LENGTH];
int i, hex_lines;