aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-03-05 08:40:27 +0000
committerGuy Harris <guy@alum.mit.edu>2002-03-05 08:40:27 +0000
commitb5e9cef2bfa66c607b3282952cfb4ce11976dd18 (patch)
tree2c75bbaa81b557864090331ad07e44813683b7ea /wiretap/wtap-int.h
parente300f4db52ddfcdfbf8a53d69d88e037365cb7a3 (diff)
downloadwireshark-b5e9cef2bfa66c607b3282952cfb4ce11976dd18.tar.gz
wireshark-b5e9cef2bfa66c607b3282952cfb4ce11976dd18.tar.bz2
wireshark-b5e9cef2bfa66c607b3282952cfb4ce11976dd18.zip
Make "wtap_seek_read()" return TRUE on success and FALSE on error, like
"wtap_read()". Add some additional error checks to the Sniffer file reader. svn path=/trunk/; revision=4875
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index 965b59fc32..6b8e04f49a 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -1,6 +1,6 @@
/* wtap-int.h
*
- * $Id: wtap-int.h,v 1.21 2002/03/05 05:58:41 guy Exp $
+ * $Id: wtap-int.h,v 1.22 2002/03/05 08:39:30 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -119,8 +119,8 @@ typedef struct {
struct timeval reference_time;
} etherpeek_t;
-typedef int (*subtype_read_func)(struct wtap*, int*, long*);
-typedef int (*subtype_seek_read_func)(struct wtap*, long, union wtap_pseudo_header*,
+typedef gboolean (*subtype_read_func)(struct wtap*, int*, long*);
+typedef gboolean (*subtype_seek_read_func)(struct wtap*, long, union wtap_pseudo_header*,
guint8*, int, int *);
struct wtap {
FILE_T fh;