diff options
author | Michael Mann <mmann78@netscape.net> | 2014-08-17 20:31:04 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-08-19 16:20:34 +0000 |
commit | 0cda27c83e4aeadb195c9e9bbf55d51db5244347 (patch) | |
tree | 26cd179e2b1a98e44d45bad3828d12579f8e4497 /epan/proto.h | |
parent | d7e456432165819903a0a946018efe8f182dac6e (diff) |
"Highly discourage" use of proto_tree_add_text.
Change-Id: I2e8d18df71688c654f7acaff51fae7823c08aa6a
Reviewed-on: https://code.wireshark.org/review/3677
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
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 e490546a02..a7dc5a6c54 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -900,7 +900,7 @@ WS_DLL_PUBLIC proto_item * proto_tree_add_item(proto_tree *tree, int hfindex, tvbuff_t *tvb, const gint start, gint length, const guint encoding); -/** Add a text-only node to a proto_tree. +/** (DEPRECATED) Add a text-only node to a proto_tree. @param tree the tree to append this item to @param tvb the tv buffer of the current data @param start start of data in tvb @@ -912,7 +912,7 @@ WS_DLL_PUBLIC proto_item * proto_tree_add_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, const char *format, ...) G_GNUC_PRINTF(5,6); -/** Add a text-only node to a proto_tree using a variable argument list. +/** (DEPRECATED) Add a text-only node to a proto_tree using a variable argument list. @param tree the tree to append this item to @param tvb the tv buffer of the current data @param start start of data in tvb |