Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal capture.c file.c file.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: Sun, 28 Nov 1999 19:54:07 -0600 (CST)
guy         1999/11/28 19:54:05 CST

  Modified files:
    .                    capture.c file.c file.h 
  Log:
  Move the callback for input available on the sync pipe from "file.c" to
  "capture.c", along with the other code that deals with the sync pipe.
  
  Close the sync pipe, and get rid of the temporary capture file, on
  errors.
  
  Split "tail_cap_file()" into routines to set up to read from the capture
  file, to read a specified number of packets from it when told to do so
  by the child process, and to read the rest of the capture file and
  finish up the capture, to provide the code in "capture.c" the hooks it
  needs.
  
  Have a common routine to set the status bar to report the file name and
  number of dropped packets, to use both when reading in a capture file in
  its entirety all at once and when done with a "read it while the capture
  is writing to it" live capture.
  
  Revision  Changes    Path
  1.83      +229 -15   ethereal/capture.c
  1.125     +93 -215   ethereal/file.c
  1.55      +4 -2      ethereal/file.h