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 --- wiretap/lanalyzer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiretap/lanalyzer.h') diff --git a/wiretap/lanalyzer.h b/wiretap/lanalyzer.h index e42a347699..42d030d034 100644 --- a/wiretap/lanalyzer.h +++ b/wiretap/lanalyzer.h @@ -1,6 +1,6 @@ /* lanalyzer.h * - * $Id: lanalyzer.h,v 1.6 2002/06/27 22:46:48 guy Exp $ + * $Id: lanalyzer.h,v 1.7 2002/07/16 07:15:08 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -170,7 +170,7 @@ typedef struct { } LA_TmpInfo; int lanalyzer_open(wtap *wth, int *err); -gboolean lanalyzer_dump_open(wtap_dumper *wdh, int *err); +gboolean lanalyzer_dump_open(wtap_dumper *wdh, gboolean cant_seek, int *err); int lanalyzer_dump_can_write_encap(int encap); #endif -- cgit v1.2.1