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] Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item(

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 4 Oct 2011 13:48:20 -0700
On Oct 4, 2011, at 10:53 AM, Bill Meier wrote:

> I propose to use a perl script to automate as much as reasonable the replacement of TRUE/FALSE in the encoding parameter of the proto_tree_add_item() calls in dissectors as follows:
> 
> First step:
> For hf[] entries with type
>   FT_NONE
>   FT_BYTES
>   FT_IPV6
>   FT_IPXNET
>   FT_UID
> 
>   convert the field to ENC_NA.

Presumably by FT_UID you mean FT_OID?