Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap ascend.c csids.c i4btrace.c iptrace.
gram 2000/09/07 00:34:53 CDT
Modified files:
wiretap ascend.c csids.c i4btrace.c iptrace.c
lanalyzer.c libpcap.c netmon.c nettl.c
netxray.c ngsniffer.c radcom.c snoop.c
toshiba.c wtap-int.h wtap.c wtap.h
Log:
Change wtap_read() API so that the data offset is set via a pointer, and
a "keep reading" boolean value is returned from the function.
This avoids having to hack around the fact that some file formats truly
do have records that start at offset 0. (i4btrace and csids have no
file header. Neither does the pppdump-style file that I'm looking at right now).
Revision Changes Path
1.18 +7 -6 ethereal/wiretap/ascend.c
1.4 +9 -30 ethereal/wiretap/csids.c
1.10 +9 -24 ethereal/wiretap/i4btrace.c
1.31 +17 -17 ethereal/wiretap/iptrace.c
1.25 +11 -15 ethereal/wiretap/lanalyzer.c
1.39 +9 -13 ethereal/wiretap/libpcap.c
1.33 +13 -16 ethereal/wiretap/netmon.c
1.16 +7 -8 ethereal/wiretap/nettl.c
1.31 +10 -11 ethereal/wiretap/netxray.c
1.51 +11 -12 ethereal/wiretap/ngsniffer.c
1.26 +9 -10 ethereal/wiretap/radcom.c
1.30 +12 -16 ethereal/wiretap/snoop.c
1.12 +6 -5 ethereal/wiretap/toshiba.c
1.8 +2 -2 ethereal/wiretap/wtap-int.h
1.47 +43 -26 ethereal/wiretap/wtap.c
1.78 +11 -3 ethereal/wiretap/wtap.h