diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-16 07:15:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-16 07:15:09 +0000 |
commit | 44d19627efccd1b7461d38a6ba6eb25a98ed66ac (patch) | |
tree | 9a9121589e31a5c3981ca9d943da7f385c731afd /file.h | |
parent | 41dc7b1b59bef7521b9e6febc7a482e2f32017fe (diff) | |
download | wireshark-44d19627efccd1b7461d38a6ba6eb25a98ed66ac.tar.gz wireshark-44d19627efccd1b7461d38a6ba6eb25a98ed66ac.tar.bz2 wireshark-44d19627efccd1b7461d38a6ba6eb25a98ed66ac.zip |
From Graeme Hewson:
Allow "-" as the output file name in Wiretap, referring to the
standard error.
Optimize the capture loop.
Fix some of the error-message printing code in Ethereal and Tethereal.
Have Wiretap check whether it can seek on a file descriptor, and pass
the results of that test to the file-type-specific "open for output"
routine. Have the "open for output" routines for files where we need to
seek when writing the file return an error if seeks don't work.
svn path=/trunk/; revision=5884
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.94 2002/05/27 22:00:35 guy Exp $ + * $Id: file.h,v 1.95 2002/07/16 07:15:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -140,7 +140,7 @@ int file_mv(char *from, char *to); /* Copies a file. Returns 0 on failure, 1 on success */ int file_cp(char *from, char *to); -char *file_open_error_message(int, gboolean); +char *file_open_error_message(int, gboolean, int); char *file_read_error_message(int); char *file_write_error_message(int); |