Ethereal-dev: [ethereal-dev] IMPORTANT: Changes to Ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ashok Narayanan <ashokn@xxxxxxxxx>
Date: Tue, 21 Sep 1999 21:39:06 -0400 (EDT)
Folks,

I just checked in new changes to Ethereal to support reading
compressed (.gz) capture dumps. As a result, please note that when you 
access any capture file within Ethereal or Wiretap, don't use the
standard stdio functions. Use these replacements:
	
	fopen	-	file_open
	fclose	-	file_close
	fdopen	-	filed_open
	fread	-	file_read
	fwrite	-	file_write
	fseek	-	file_seek
	fclose	-	file_close
	ferror	-	file_error

The arguments and return values for these replacement functions are
the same as for the original functions. It should just be a matter of
replacing the function names itself.

You can still use the stdio functions for operating on any other file
you like. 

-Ashok

-- 
--- Asok the Intern ----------------------------------------
IOS Network Protocols, Cisco Systems
250 Apollo Drive, Chelmsford, MA 01824
Ph: 978-244-8387