aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-08-15 01:02:26 +0000
committerGuy Harris <guy@alum.mit.edu>1999-08-15 01:02:26 +0000
commitf452748340735a029fa279860cd803040835cd3b (patch)
tree7b98dd0d457994011cd11317c37d0046680c5e2b /file.h
parent8042652058e9ddf9619a1bea3dba849fe48c7bc8 (diff)
"read_cap_file()" doesn't need to be passed a file name as an argument -
it's called after "open_cap_file()" has been called, and is always passed the file name passed to "open_cap_file()", and that file name is stored as "cf->filename", so "read_cap_file()" can just use "cf->filename" as the pathname of the file. svn path=/trunk/; revision=494
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.h b/file.h
index 0469fc5972..00f5092d12 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.33 1999/08/15 00:26:11 guy Exp $
+ * $Id: file.h,v 1.34 1999/08/15 01:02:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -106,7 +106,7 @@ typedef struct _capture_file {
int open_cap_file(char *, capture_file *);
void close_cap_file(capture_file *, void *, guint);
-int read_cap_file(char *, char *, capture_file *);
+int read_cap_file(char *, capture_file *);
int tail_cap_file(char *, capture_file *);
/* size_t read_frame_header(capture_file *); */