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: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Thu, 13 Oct 2011 22:35:37 -0400
Re:

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?

I think so.

tvb_fake_unicode()
          ; no remaining usage in Wireshark;leave as is ?

tvb_get_ephemeral_faked_unicode()
          ; some usage: convert to the replacement ?


proto_tree_add_bitmask()
proto_tree_add_bitmask_text()
proto_item_add_bitmask_tree()<= static in epan/proto.c only
proto_tree_add_bits_item()
proto_tree_add_bits_item_ret_val()
           ; Fix

I'll get to these next week ...

Bill