Ethereal-dev: [Ethereal-dev] Adding items/units in two formats ...

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Wed, 13 Mar 2002 11:26:10 +1030 (CST)
Hi,

I want to add an item to a tree like the following:

    DataSegmentLength: 0x00000670 (Decimal equivalent)

At the moment, I have to add a text item and format the string myself. It 
would be really nice if the FT structures could do this for us :-)

Since it might be hard to modify the actual formatted text stuff, perhaps 
it would be simple to allow additional text on a special call like:
proto_tree_add_append_uint(..., "(formatting string)", ...)

Or, am I simply getting too lazy?

"I weep for you the walrus said,
	I deeply sympathize"

Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx