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: Chris Maynard <Chris.Maynard@xxxxxxxxx>
Date: Wed, 5 Oct 2011 18:36:31 +0000 (UTC)
Bill Meier <wmeier@...> writes:

> In this case, given the specifics, I found it fairly simple to do what I 
> needed in Perl.

Should these functions be modified to take an encoding argument instead of a
little_endian argument, then the Perl script run on them as well to convert
TRUE/FALSE to ENC_LITTLE_ENDIAN/ENC_BIG_ENDIAN?

tvb_fake_unicode()
tvb_get_ephemeral_faked_unicode()
proto_tree_add_bitmask()
proto_tree_add_bitmask_text()
proto_item_add_bitmask_tree() <= static in epan/proto.c only

- Chris