Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap acinclude.m4 configure.in file.c
ashokn 1999/09/21 20:27:02 CDT
Modified files:
wiretap acinclude.m4 configure.in file.c
iptrace.c lanalyzer.c libpcap.c netmon.c
netxray.c ngsniffer.c radcom.c snoop.c
wtap.c wtap.h
Log:
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
Revision Changes Path
1.2 +9 -0 ethereal/wiretap/acinclude.m4
1.14 +13 -1 ethereal/wiretap/configure.in
1.21 +15 -14 ethereal/wiretap/file.c
1.11 +9 -8 ethereal/wiretap/iptrace.c
1.15 +21 -20 ethereal/wiretap/lanalyzer.c
1.18 +15 -14 ethereal/wiretap/libpcap.c
1.14 +12 -11 ethereal/wiretap/netmon.c
1.14 +13 -12 ethereal/wiretap/netxray.c
1.22 +21 -20 ethereal/wiretap/ngsniffer.c
1.10 +30 -29 ethereal/wiretap/radcom.c
1.11 +13 -12 ethereal/wiretap/snoop.c
1.20 +4 -2 ethereal/wiretap/wtap.c
1.39 +4 -3 ethereal/wiretap/wtap.h