Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Any Replacement function for proto_tree_add_boolean_hidden

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 19 Apr 2010 09:32:03 -0400
Reddy Nagendra-GKTC37 wrote:

Hi Experts,

In 1.0.2 there is one function called 'proto_tree_add_boolean_hidden'.

Is there any similar function 1.2.6 ?

This question is probably better aimed at the -dev list.

The _hidden APIs were all deprecated, largely because it's not a good idea to have hidden fields from a UI perspective (if they're hidden, how does the user know they're there?). But you can still add hidden items by doing, for example:

item = proto_tree_add_boolean()
PROTO_ITEM_SET_HIDDEN(item)