Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap file.c libpcap.c wtap.h

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 17 Aug 1999 23:41:30 -0500 (CDT)
guy         1999/08/17 23:41:26 CDT

  Modified files:
    wiretap              file.c libpcap.c wtap.h 
  Log:
  Make "wtap_dump()" and "wtap_dump_close()" return error codes, and check
  for errors when closing a file to which we've written packets (we don't
  bother checking if we're giving up on a capture).
  
  Add some more error checks in Wiretap.
  
  Make a single list of all Wiretap error codes, giving them all different
  values (some can be returned by more than one routine, so they shouldn't
  be per-routine).
  
  Revision  Changes    Path
  1.15      +22 -7     ethereal/wiretap/file.c
  1.8       +21 -10    ethereal/wiretap/libpcap.c
  1.25      +24 -26    ethereal/wiretap/wtap.h