diff options
author | Michael Mann <mmann78@netscape.net> | 2014-08-09 13:43:44 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-08-10 21:39:20 +0000 |
commit | 3635d7bed70aaf14e8172654f2b40be318e7dbfe (patch) | |
tree | 4b0fce1dba327df9a24b4ddc267a83375c817683 /epan/proto.h | |
parent | 18346c84778019fe6eee6906758daa120f84d5d0 (diff) |
Eliminate proto_tree_add_text from some dissectors.
Other minor cleanup while in the neighborhood.
Change-Id: Ib76f4a9f89b5933425760af0a980c6a549031b8f
Reviewed-on: https://code.wireshark.org/review/3537
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index dada8a938e..e490546a02 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -956,6 +956,10 @@ proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint proto_item * proto_tree_add_format_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length); +/** Add a text-only node to a proto_tree with tvb_format_text_wsp() string. */ +proto_item * +proto_tree_add_format_wsp_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length); + /** Add a FT_NONE field to a proto_tree. @param tree the tree to append this item to @param hfindex field index |