Re: parameter arrays

"John R." <[email protected]>
Newsgroups gmane.network.ethereal.devel
Message-ID <[email protected]>
On 5/24/06, Guy Harris <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.