Ethereal-dev: Re: [Ethereal-dev] New Ethereal Dissector for IAPP

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 2 Feb 2002 04:07:33 -0800
On Sat, Feb 02, 2002 at 12:41:26AM +1100, Ronnie Sahlberg wrote:
> 3, get rid of all match_strval() since this functionality of selecting the
> correct value_string entry will be done
> automatically by proto_tree_add_item()  if the corresponding
> hf_register_info entry has the VALS(value_string_name) field specified.

Well, most calls, anyway.  Get rid of most "val_to_str()" calls as well
("match_strval()" and "val_to_str()" calls used to set columns can't be
gotten rid of in that fashion).