Ethereal-dev: Re: [Ethereal-dev] parameter arrays

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

From: "John R." <jhoger@xxxxxxxxx>
Date: Sun, 28 May 2006 11:32:52 -0700
On 5/24/06, Guy Harris <gharris@xxxxxxxxx> wrote:

It might be useful to have a call to do the tagging for you; no such call
currently exists.


OK, I am trying to figure out how to add a function
proto_tree_add_item_indexed () to proto.c . This function would work
just like proto_tree_add_item but you can provide an index that will
be printed like [%u] after the field name.

Walking through the code I tried to figure out where
proto_tree_add_item actually formats the field name (say, for an
FT_UINT16) but it is not obvious to me where this occurs.

Thanks,

-- John.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev