From 1b444c55fdca784c7fea44b48c99db62cfd4069d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 24 May 2010 06:06:17 +0000 Subject: 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 --- epan/ptvcursor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/ptvcursor.h') 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. -- cgit v1.2.3