diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-15 01:02:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-15 01:02:26 +0000 |
commit | f452748340735a029fa279860cd803040835cd3b (patch) | |
tree | 7b98dd0d457994011cd11317c37d0046680c5e2b /file.h | |
parent | 8042652058e9ddf9619a1bea3dba849fe48c7bc8 (diff) | |
download | wireshark-f452748340735a029fa279860cd803040835cd3b.tar.gz wireshark-f452748340735a029fa279860cd803040835cd3b.tar.bz2 wireshark-f452748340735a029fa279860cd803040835cd3b.zip |
"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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); */ |