diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-24 19:52:43 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-24 19:52:43 +0000 |
commit | 1f7a4ab24ee68c9fddffe1cdbb25d6ffb7bed0a6 (patch) | |
tree | 4793ea54b5a62d088fa90e2d96913924764fcf23 /epan/proto.h | |
parent | 3e81a5066061fd73482ebb488774d067f225c499 (diff) |
Convert proto_tree_add_bitmask(), proto_tree_add_bitmask_text(), proto_tree_add_bitmask_tree() to have 'encoding' arg rather than 'little_endian' arg
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39538 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h index 301119211e..e7a3622a80 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1828,11 +1828,11 @@ proto_find_field_from_offset(proto_tree *tree, guint offset, tvbuff_t *tvb); FT_BOOLEAN bits that are set to 1 will have the name added to the expansion. FT_integer fields that have a value_string attached will have the matched string displayed on the expansion line. - @param little_endian big or little endian byte representation + @param encoding big or little endian byte representation (ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN) @return the newly created item */ extern proto_item * proto_tree_add_bitmask(proto_tree *tree, tvbuff_t *tvb, const guint offset, - const int hf_hdr, const gint ett, const int **fields, const gboolean little_endian); + const int hf_hdr, const gint ett, const int **fields, const guint encoding); /** Add a text with a subtree of bitfields. @param tree the tree to append this item to @@ -1843,13 +1843,13 @@ proto_tree_add_bitmask(proto_tree *tree, tvbuff_t *tvb, const guint offset, @param fallback field name if none of bitfields were usable @param ett subtree index @param fields NULL-terminated array of bitfield indexes - @param little_endian big or little endian byte representation + @param encoding big or little endian byte representation (ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN) @param flags @return the newly created item */ extern proto_item * proto_tree_add_bitmask_text(proto_tree *tree, tvbuff_t *tvb, const guint offset, const guint len, const char *name, const char *fallback, - const gint ett, const int **fields, const gboolean little_endian, const int flags); + const gint ett, const int **fields, const guint encoding, const int flags); #define BMT_NO_APPEND 0x01 /**< Don't change the title at all */ #define BMT_NO_INT 0x02 /**< Don't add integral (non-boolean) fields to title */ |