Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c print.c proto_hier_stats.c tap-protoh

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Thu, 4 Dec 2003 04:59:33 -0600 (CST)
guy         2003/12/04 04:59:33 CST

  Modified files:
    .                    file.c print.c proto_hier_stats.c 
                         tap-protohierstat.c 
  Log:
  Don't use GNodes for the protocol tree, put the sibling pointer, and
  pointers to the first *and* last child, in the "proto_node" structure
  itself.  That saves us one level of indirection and memory allocation,
  and lets us append to a tree by appending to the last child directly,
  rather than having to scan through the list of siblings of the first
  child to find the end of that list.
  
  Revision  Changes    Path
  1.326     +6 -7      ethereal/file.c
  1.63      +6 -7      ethereal/print.c
  1.20      +7 -7      ethereal/proto_hier_stats.c
  1.6       +3 -3      ethereal/tap-protohierstat.c