diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-27 12:04:29 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-27 12:04:29 +0000 |
commit | fd78ef1acbf29a1ddfba9f47ec50a50c8f2225d6 (patch) | |
tree | bdf8ef520c67daad4e1da2d82d71b90601fc0851 /epan/proto.h | |
parent | eac43304abc49c4f800f0c9e74b7165474ec5ced (diff) |
In proto_tree_add_bits... use const guint encoding to be consistent with proto_tree_add_item().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39163 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.h b/epan/proto.h index 98ef9c522f..799c770bd2 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1842,7 +1842,7 @@ proto_tree_add_bitmask_text(proto_tree *tree, tvbuff_t *tvb, const guint offset, @param little_endian big or little endian byte representation @return the newly created item */ extern proto_item * -proto_tree_add_bits_item(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const gint bit_offset, const gint no_of_bits, const gboolean little_endian); +proto_tree_add_bits_item(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const gint bit_offset, const gint no_of_bits, const guint encoding); /** Add bits to a proto_tree, using the text label registered to that item. The item is extracted from the tvbuff handed to it. @@ -1855,7 +1855,7 @@ proto_tree_add_bits_item(proto_tree *tree, const int hf_index, tvbuff_t *tvb, co @param little_endian big or little endian byte representation @return the newly created item */ extern proto_item * -proto_tree_add_bits_ret_val(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const gint bit_offset, const gint no_of_bits, guint64 *return_value, const gboolean little_endian); +proto_tree_add_bits_ret_val(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const gint bit_offset, const gint no_of_bits, guint64 *return_value, const guint encoding); /** Add bits for a FT_UINT8, FT_UINT16, FT_UINT24 or FT_UINT32 header field to a proto_tree, with the format generating the |