Ethereal-dev: RE: [Ethereal-dev] Appending data to a proto_item

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Tue, 14 Oct 2003 20:51:40 +0200
| From: Guy Harris
| Subject: Re: [Ethereal-dev] Appending data to a proto_item
| 
| On Tue, Oct 14, 2003 at 02:54:47PM +0200, Biot Olivier wrote:
| > Is it normal that when appending text to a proto_item 
| linked to an header
| > field, this extra text cannot be searched for in a display 
| filter expression
| > that applies to this header field?
| 
| Yes.  A display filter expression that applies to fields checks the
| value of the field, not the displayed text of the item. 
| "proto_item_append_text()" affects the latter, not the former.

And there's no way to update the field value once a proto_tree_add_XXX() has
been called?
If so, I have to construct the text string prior to call the
proto_tree_add_string(), right?

Regards,

Olivier