"This file format can't be written to a pipe" and "this file format
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 12 Apr 2011 00:44:44 +0000 (00:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 12 Apr 2011 00:44:44 +0000 (00:44 +0000)
commita4f1aa318b959e195cafd9f488f022fcaa77ab1c
tree598ee6dae4cbe95a2d65910302f56df5c2dbf832
parentfa3ea49400f237f6bd3196f2e5ffb0535616beb8
"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
37 files changed:
wiretap/5views.c
wiretap/5views.h
wiretap/btsnoop.c
wiretap/btsnoop.h
wiretap/catapult_dct2000.c
wiretap/catapult_dct2000.h
wiretap/commview.c
wiretap/commview.h
wiretap/eyesdn.c
wiretap/eyesdn.h
wiretap/file_access.c
wiretap/k12.c
wiretap/k12.h
wiretap/k12text.l
wiretap/lanalyzer.c
wiretap/lanalyzer.h
wiretap/libpcap.c
wiretap/libpcap.h
wiretap/netmon.c
wiretap/netmon.h
wiretap/netscaler.c
wiretap/netscaler.h
wiretap/nettl.c
wiretap/nettl.h
wiretap/network_instruments.c
wiretap/network_instruments.h
wiretap/netxray.c
wiretap/netxray.h
wiretap/ngsniffer.c
wiretap/ngsniffer.h
wiretap/pcapng.c
wiretap/pcapng.h
wiretap/snoop.c
wiretap/snoop.h
wiretap/visual.c
wiretap/visual.h
wiretap/wtap.h