From a4f1aa318b959e195cafd9f488f022fcaa77ab1c Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 12 Apr 2011 00:44:44 +0000 Subject: "This file format can't be written to a pipe" and "this file format can't be saved in compress form" are both equivalent to "this file file format requires seeking when writing it". Change the "can compress" Boolean in the file format table to "writing requires seeking", give all the entries the proper value, and do the checks for attempting to write a file format to a pipe or write it in compressed format to common code. This means we don't need to pass the "can't seek" flag to the dump open routines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36575 f5534014-38df-0310-8fa8-9805f1628bb7 --- wiretap/netxray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiretap/netxray.h') diff --git a/wiretap/netxray.h b/wiretap/netxray.h index eeb3319672..56054d12e1 100644 --- a/wiretap/netxray.h +++ b/wiretap/netxray.h @@ -25,8 +25,8 @@ int netxray_open(wtap *wth, int *err, gchar **err_info); int netxray_dump_can_write_encap_1_1(int encap); -gboolean netxray_dump_open_1_1(wtap_dumper *wdh, gboolean cant_seek, int *err); +gboolean netxray_dump_open_1_1(wtap_dumper *wdh, int *err); int netxray_dump_can_write_encap_2_0(int encap); -gboolean netxray_dump_open_2_0(wtap_dumper *wdh, gboolean cant_seek, int *err); +gboolean netxray_dump_open_2_0(wtap_dumper *wdh, int *err); #endif -- cgit v1.2.3