Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/plugins/gryphon packet-gryphon.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: Wed, 31 May 2000 00:09:16 -0500 (CDT)
guy         2000/05/31 00:09:12 CDT

  Modified files:
    plugins/gryphon      packet-gryphon.c 
  Log:
  Add routines for adding items to a protocol tree that take arguments of
  a particular type, rather than taking a varargs list, along the lines of
  the "proto_tree_add_XXX_format()" routines.
  
  Replace most calls to "proto_tree_add_item()" and
  "proto_tree_add_item_hidden()" with calls to those routines.
  
  Rename "proto_tree_add_item()" and "proto_tree_add_item_hidden()" to
  "proto_tree_add_item_old()" and "proto_tree_add_item_hidden_old()", and
  add new "proto_tree_add_item()" and "proto_tree_add_item_hidden()"
  routines that don't take the item to be added as an argument - instead,
  they fetch the argument from the packet whose tvbuff was handed to them,
  from the offset handed to them.
  
  Revision  Changes    Path
  1.10      +8 -8      ethereal/plugins/gryphon/packet-gryphon.c