Ethereal-dev: Re: [Ethereal-dev] Adding useful info to the summary info ...

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 1 Nov 2001 14:37:02 -0800 (PST)
> Hi folks,
> At the moment, there is a neat routine, proto_tree_add_item, that adds 
> items to the tree, and you do not have to worry about extracting the 
> appropriate item from the TVB/data stream.
> 
> It would be nice to have the same for col_add_fstr or whatever ...

What would that routine do?

For the protocol tree, there's a fairly standard format for items:

	{name}: {value}

and not only "proto_tree_add_item()", but all the non-"_format"
"proto_tree_add_XXX" routines will generate the visual representation of
the item for you.

An equivalent routine for the summary line would make sense only with a
standard format; what would that format be?