Wireshark mailing list archives
Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script.
From: Bill Meier <wmeier () newsguy com>
Date: Thu, 20 Oct 2011 17:55:14 -0400
On 10/4/2011 1:53 PM, 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:
OK: Unless there are concerns, there will be one last massive change (at about 3 hours from now, 9 PM EDT).
Specifically: For the proto_tree_add_item(..., proto_xxx, ...) calls,use ENC_NA as the encoding arg (since the proto_xxx field type is FT_PROTOCOL).
On 10/19/2011 7:46 PM, Guy Harris wrote: >> FT_PROTOCOL Not yet fixed: Should be ??? > > ENC_NA. It's like FT_NONE. ========== epan/dissectors/* (non-autogenerated) 509 files 203 [[ENC_BIG_ENDIAN]-->[ENC_NA]] 8 [[ENC_LITTLE_ENDIAN]-->[ENC_NA]] 508 [[FALSE]-->[ENC_NA]] 12 [[TRUE]-->[ENC_NA]] plugins/* 16 files 1 [[ENC_BIG_ENDIAN]-->[ENC_NA]] 16 [[FALSE]-->[ENC_NA]] 7 [[TRUE]-->[ENC_NA]] asn1/* 35 files 1 [[ENC_BIG_ENDIAN]-->[ENC_NA]] 48 [[FALSE]-->[ENC_NA]] ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script., (continued)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Guy Harris (Oct 04)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Stephen Fisher (Oct 19)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Anders Broman (Oct 19)
- Re: [Wireshark-dev] Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Chris Maynard (Oct 19)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Bill Meier (Oct 04)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Guy Harris (Oct 04)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Bill Meier (Oct 19)
- Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script. Bill Meier (Oct 20)