diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-24 06:06:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-24 06:06:17 +0000 |
commit | 1b444c55fdca784c7fea44b48c99db62cfd4069d (patch) | |
tree | badbce952d73c0fca99d071d0db5526ebe93b29b /epan/ptvcursor.h | |
parent | 19f350b9f4c2afd403a3c292d2d6b0421ae27555 (diff) |
Refer to the endianness arguments as "encoding" rather than
"representation" - we already use "representation" to refer to the text
representation of fields.
Change some routines with an endianness argument to make it a
representation argument instead;
svn path=/trunk/; revision=32929
Diffstat (limited to 'epan/ptvcursor.h')
-rw-r--r-- | epan/ptvcursor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/ptvcursor.h b/epan/ptvcursor.h index 961554dc84..10e7d8427c 100644 --- a/epan/ptvcursor.h +++ b/epan/ptvcursor.h @@ -42,13 +42,13 @@ ptvcursor_new(proto_tree* tree, tvbuff_t* tvb, gint offset); /* Gets data from tvbuff, adds it to proto_tree, increments offset, * and returns proto_item* */ proto_item* -ptvcursor_add(ptvcursor_t* ptvc, int hf, gint length, gboolean endianness); +ptvcursor_add(ptvcursor_t* ptvc, int hf, gint length, const guint encoding); /* Gets data from tvbuff, adds it to proto_tree, *DOES NOT* increment * offset, and returns proto_item* */ proto_item* -ptvcursor_add_no_advance(ptvcursor_t* ptvc, int hf, gint length, gboolean endianness); +ptvcursor_add_no_advance(ptvcursor_t* ptvc, int hf, gint length, const guint encoding); /* Advance the ptvcursor's offset within its tvbuff without * adding anything to the proto_tree. */ @@ -90,7 +90,7 @@ ptvcursor_pop_subtree(ptvcursor_t* ptvc); */ proto_tree* ptvcursor_add_with_subtree(ptvcursor_t* ptvc, int hfindex, gint length, - gboolean little_endian, gint ett_subtree); + const guint encoding, gint ett_subtree); /* Add a text node to the tree and create a subtree * If the length is unknown, length may be defined as SUBTREE_UNDEFINED_LENGTH. |