diff options
author | Gerald Combs <gerald@wireshark.org> | 2019-11-07 14:42:25 +0000 |
---|---|---|
committer | Pascal Quantin <pascal@wireshark.org> | 2019-11-07 16:43:43 +0000 |
commit | 2ff32787c5a53ed7b3f8645ae11c15e1390c4fc3 (patch) | |
tree | 62551a90d7380b8685b1efe0ab97088016f1054e /epan/proto.h | |
parent | 59ab98a894f0ce30b589ddb39575fdc57e6fa696 (diff) |
epan: Make proto_tree_add_oid* usable from DLLs.
Prefix proto_tree_add_oid, proto_tree_add_oid_format_value, and
proto_tree_add_oid_format with WS_DLL_PUBLIC.
Change-Id: Ia3fa8fb762869bb1afa1c1f57a3a5f02aa126a3f
Reviewed-on: https://code.wireshark.org/review/35018
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/proto.h b/epan/proto.h index 3abca93ed5..0edb5785c7 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1847,7 +1847,7 @@ proto_tree_add_guid_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint st @param length length of data in tvb @param value_ptr data to display @return the newly created item */ -extern proto_item * +WS_DLL_PUBLIC proto_item * proto_tree_add_oid(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const guint8* value_ptr); @@ -1863,7 +1863,7 @@ proto_tree_add_oid(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, @param format printf like format string @param ... printf like parameters @return the newly created item */ -extern proto_item * +WS_DLL_PUBLIC proto_item * proto_tree_add_oid_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const guint8* value_ptr, const char *format, ...) G_GNUC_PRINTF(7,8); @@ -1879,7 +1879,7 @@ proto_tree_add_oid_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, @param format printf like format string @param ... printf like parameters @return the newly created item */ -extern proto_item * +WS_DLL_PUBLIC proto_item * proto_tree_add_oid_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, gint length, const guint8* value_ptr, const char *format, ...) G_GNUC_PRINTF(7,8); |