diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-07-16 07:15:09 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-07-16 07:15:09 +0000 |
commit | 96f0c884b754e03570eacf258253ff6265e9adec (patch) | |
tree | 9a9121589e31a5c3981ca9d943da7f385c731afd /wiretap/netxray.h | |
parent | 78cf0b30404e9d266d153c6d99396fd345c7b5a1 (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5884 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/netxray.h')
-rw-r--r-- | wiretap/netxray.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/netxray.h b/wiretap/netxray.h index f87229d418..1cf63abc17 100644 --- a/wiretap/netxray.h +++ b/wiretap/netxray.h @@ -1,6 +1,6 @@ /* netxray.h * - * $Id: netxray.h,v 1.8 2002/04/18 21:35:57 guy Exp $ + * $Id: netxray.h,v 1.9 2002/07/16 07:15:09 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -24,8 +24,8 @@ #define __NETXRAY_H__ int netxray_open(wtap *wth, int *err); -gboolean netxray_dump_open_2_0(wtap_dumper *wdh, int *err); -gboolean netxray_dump_open_1_1(wtap_dumper *wdh, int *err); +gboolean netxray_dump_open_2_0(wtap_dumper *wdh, gboolean cant_seek, int *err); +gboolean netxray_dump_open_1_1(wtap_dumper *wdh, gboolean cant_seek, int *err); int netxray_dump_can_write_encap(int encap); #endif |