This commit contains support for reading capture files compressed using
authorashokn <ashokn@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Sep 1999 01:26:50 +0000 (01:26 +0000)
committerashokn <ashokn@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Sep 1999 01:26:50 +0000 (01:26 +0000)
commitcb683f69d3e6b300edec7c4d0f72bda14d2d87f8
treee41c0cbc0a89e356df2ca7ef5af0596b8fe40fba
parentd5147f66880ae13a2616a9bb1e278092ac9d62e4
This commit contains support for reading capture files compressed using
gzip. The zLib library is used for this purpose. If zLib is not available
(or it's use is disabled by the --disable-zlib option to configure), you
can still compile Ethereal but it will be unable to read compressed capture
files.

IMPORTANT:

Now all file accesses to capture files should be done through special macros.
Specifically, for any use of the following functions on capture files, replace them.
The arguments for the right-side functions are exactly the same as for the
original stdio functions.

fopen file_open
fdopen filed_open
fread file_read
fwrite file_write
fseek file_seek
fclose file_close
ferror file_error

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@695 f5534014-38df-0310-8fa8-9805f1628bb7
18 files changed:
acinclude.m4
configure.in
file.c
file.h
gtk/main.c
wiretap/acinclude.m4
wiretap/configure.in
wiretap/file.c
wiretap/iptrace.c
wiretap/lanalyzer.c
wiretap/libpcap.c
wiretap/netmon.c
wiretap/netxray.c
wiretap/ngsniffer.c
wiretap/radcom.c
wiretap/snoop.c
wiretap/wtap.c
wiretap/wtap.h