aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-01-21 05:03:56 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-01-21 05:03:56 +0000
commit10c23c3cd254a80c095eea6a4afebcf5cfe6c353 (patch)
tree35e13734ec9d158cc9e8dd638eb9fcec5f225d4d /wiretap/wtap.h
parent43a8b4b5a50e5d41b574dedcf10caaee28be30e8 (diff)
I changed the wtap_open_offline() function so that it takes only the
filename as the parameter. So far all the filetypes that wiretap can read can be inferred from the first few bytes of the file, so we never have to give wiretap a hint as to the file type. svn path=/trunk/; revision=173
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 45afc04ac9..9a0613268e 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.11 1999/01/17 09:33:15 guy Exp $
+ * $Id: wtap.h,v 1.12 1999/01/21 05:03:56 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -110,7 +110,7 @@ typedef struct wtap {
} wtap;
-wtap* wtap_open_offline(char *filename, int filetype);
+wtap* wtap_open_offline(char *filename);
void wtap_loop(wtap *wth, int, wtap_handler, u_char*);
FILE* wtap_file(wtap *wth);