Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan column-utils.c column-utils.h epan.c ep

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Dec 2001 18:26:17 -0600 (CST)
guy         2001/12/09 18:26:17 CST

  Modified files:
    epan                 column-utils.c column-utils.h epan.c 
                         epan.h frame_data.h packet.c packet.h 
                         packet_info.h 
  Log:
  Move the pointer to the "column_info" structure in the "frame_data"
  structure to the "packet_info" structure; only stuff that's permanently
  stored with each frame should be in the "frame_data" structure, and the
  "column_info" structure is not guaranteed to hold the column values for
  that frame at all times - it was only in the "frame_data" structure so
  that it could be passed to dissectors, and, as all dissectors are now
  passed a pointer to a "packet_info" structure, it could just as well be
  put in the "packet_info" structure.
  
  That saves memory, by shrinking the "frame_data" structure (there's one
  of those per frame), and also lets us clean up the code a bit.
  
  Revision  Changes    Path
  1.8       +139 -154  ethereal/epan/column-utils.c
  1.5       +13 -17    ethereal/epan/column-utils.h
  1.13      +3 -3      ethereal/epan/epan.c
  1.10      +3 -3      ethereal/epan/epan.h
  1.2       +15 -18    ethereal/epan/frame_data.h
  1.54      +13 -3     ethereal/epan/packet.c
  1.47      +2 -2      ethereal/epan/packet.h
  1.13      +2 -1      ethereal/epan/packet_info.h