Wireshark mailing list archives

Re: Replace TRUE/FALSE with proper ENC_* in proto_tree_add_item() using a script.


From: Anders Broman <a.broman () bredband net>
Date: Wed, 05 Oct 2011 20:54:28 +0200

Chris Maynard skrev 2011-10-05 20:36:
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
proto_tree_add_bits_item()
proto_tree_add_bits_item_ret_val()
should also have the FALSE value changed
- Anders
___________________________________________________________________________
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


___________________________________________________________________________
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: