From 44d19627efccd1b7461d38a6ba6eb25a98ed66ac Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 16 Jul 2002 07:15:09 +0000 Subject: 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 --- file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.h') diff --git a/file.h b/file.h index 75e516a675..615c57f7c9 100644 --- a/file.h +++ b/file.h @@ -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 @@ -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); -- cgit v1.2.1