1 | initial version |
That function isn't exported for use in plugins, only because no one has needed it yet.
In epan/proto.h, modify the declaration of the function to have "WS_DLL_PUBLIC" in front if it, e.g.
WS_DLL_PUBLIC proto_item *
proto_tree_add_format_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length);
and rebuild. This could be contributed back to Wireshark if you care to submit a patch.
2 | No.2 Revision |
That function isn't exported for use in plugins, only because no one has needed it yet.
In epan/proto.h, modify the declaration of the function to have "WS_DLL_PUBLIC" in front if of it, e.g.
WS_DLL_PUBLIC proto_item *
proto_tree_add_format_text(proto_tree *tree, tvbuff_t *tvb, gint start, gint length);
and rebuild. This could be contributed back to Wireshark if you care to submit a patch.