Ethereal-dev: Re: [ethereal-dev] New proto_tree patch

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Sat, 3 Jul 1999 01:19:09 -0500
On Sat, Jul 03, 1999 at 12:00:00AM -0500, Guy Harris wrote:
> 
> It appears that "proto_register_field" fills in all the fields of
> "struct header_field_info" that aren't to be specified by the protocol
> dissector; an alternative might be to have a protocol dissector contain
> an array of all fields for the protocol, and have a routine that takes,
> as an argument, a pointer to that array and a count of elements in the
> array, and registers all of them.

yes, that sounds reasonable.

--gilbert