ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Appending string to value

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 12 Feb 2007 08:48:59 -0800
On Mon, Feb 12, 2007 at 09:33:33PM +0800, Jeff Morriss wrote:

> /** Append to text of item after it has already been created.
>  @param ti the item to append the text to
>  @param format printf like format string
>  @param ... printf like parameters */
> extern void proto_item_append_text(proto_item *ti, const char *format, ...)
> 	GNUC_FORMAT_CHECK(printf, 2,3);

.. the ti parameter comes from a proto_item ti declaration in the code 
and doing ti = proto_tree_add_item(...);


Steve