diff options
author | Michael Mann <mmann78@netscape.net> | 2014-07-09 21:21:32 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-07-10 01:51:21 +0000 |
commit | e6c87fe6b13f43d0c74ea8516d83a38ea4317688 (patch) | |
tree | 27eb9cf5e28b7fdb4fd99477b64e1062b7102cf6 /epan/proto.h | |
parent | 9b182b7097e339501977f595903c2e837055fb1d (diff) |
convert to proto_tree_add_subtree[_format] for plugin dissectors
Change-Id: I13924c5a2f056688a42cdee25654d82c056b5f97
Reviewed-on: https://code.wireshark.org/review/2974
Reviewed-by: Michael Mann <mmann78@netscape.net>
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 8f6bc9f178..79e1420a99 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -891,7 +891,7 @@ proto_tree_add_text_valist(proto_tree *tree, tvbuff_t *tvb, gint start, @param Can be NULL if going to be unused @param text label for the tree @return the newly created tree */ -proto_tree * +WS_DLL_PUBLIC proto_tree * proto_tree_add_subtree(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *text); /** Add a text-only node that creates a subtree underneath. @@ -906,7 +906,7 @@ proto_tree_add_subtree(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, @param format printf like format string @param ... printf like parameters @return the newly created tree */ -proto_tree * +WS_DLL_PUBLIC proto_tree * proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, gint start, gint length, gint idx, proto_item **tree_item, const char *format, ...) G_GNUC_PRINTF(7,8); /** Add a text-only node to a proto_tree with tvb_format_text() string. */ |