Yes it's true assuming "ti_channel" isn't otherwise used.
-Original Message-
From: Juan Jose Martin Carrascosa
To: Developer support list for Wireshark
Sent: Tue, Aug 26, 2014 11:32 am
Subject: Re: [Wireshark-dev] Equivalency between APIs
Thanks for your
ti again. So when that's converted to
> proto_tree_add_subtree, you can just pass NULL in for the proto_item*
> parameter.
>
>
>
>
> -Original Message-
> From: Juan Jose Martin Carrascosa
> To: Developer support list for Wireshark
> Sent: Tue, Aug 26, 2014
roto_item* parameter.
-Original Message-
From: Juan Jose Martin Carrascosa
To: Developer support list for Wireshark
Sent: Tue, Aug 26, 2014 9:43 am
Subject: [Wireshark-dev] Equivalency between APIs
Hi all,
I need to remove the proto_tree_add_text calls, and I wanted to know if
Hi all,
I need to remove the proto_tree_add_text calls, and I wanted to know if
this is equivalent:
Before:
ti_channel = proto_tree_add_text(rtps_parameter_tree, tvb, off, 0,
"Channel[%u]", ch);
channel_tree = proto_item_add_subtree(ti_channel,
ett_rtps_locator_filter_channel);