Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c file.h ethereal.c

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: Fri, 23 Jul 1999 22:22:56 -0500 (CDT)
guy         1999/07/23 22:22:54 CDT

  Modified files:
    .                    file.c file.h ethereal.c 
  Log:
  Turn "protocol_tree" and "fd" from global variables into members of a
  "capture_file" structure, make a "select_packet()" routine to parallel
  "unselect_packet()", and have "unselect_packet()" free the protocol tree
  that the "protocol_tree" member of the "capture_file" passed to it
  points to.
  
  It should now be impossible to do a "Print Packet" operation if no
  packet has been selected, so remove the check for that (we'll probably
  just blow up if it happens; if it does, that means we probably forgot to
  gray out "/File/Print Packet" somewhere, so we should fix that).
  
  Revision  Changes    Path
  1.44      +47 -1     ethereal/file.c
  1.23      +4 -1      ethereal/file.h
  1.62      +4 -35     ethereal/ethereal.c