diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-04-06 19:25:36 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-04-07 04:09:10 +0000 |
commit | 58a6487b540ee2eb30753573ba84b3837f6d9471 (patch) | |
tree | 881cfa0718f1fb208a49f5f4340d2baac54c3be8 /epan | |
parent | f06cdf3a838b072b1ce3883f2f92796c5863273e (diff) |
Add WS_DLL_PUBLIC for p_remove_proto_data and tvb_child_uncompres function
Change-Id: If043683f366fedd849688ca3c512707954221a3b
Reviewed-on: https://code.wireshark.org/review/984
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/frame_data.h | 2 | ||||
-rw-r--r-- | epan/tvbuff.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/frame_data.h b/epan/frame_data.h index 9722f094c2..58256357f4 100644 --- a/epan/frame_data.h +++ b/epan/frame_data.h @@ -89,7 +89,7 @@ typedef struct _frame_data { /* Utility routines used by packet*.c */ WS_DLL_PUBLIC void p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key, void *proto_data); WS_DLL_PUBLIC void *p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key); -void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key); +WS_DLL_PUBLIC void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key); gchar *p_get_proto_name_and_key(wmem_allocator_t *scope, struct _packet_info* pinfo, guint pfd_index); /** compare two frame_datas */ diff --git a/epan/tvbuff.h b/epan/tvbuff.h index 6d0df81e4a..7d51a6ac0c 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -785,7 +785,7 @@ WS_DLL_PUBLIC tvbuff_t *tvb_uncompress(tvbuff_t *tvb, const int offset, * length comprlen. Returns an uncompressed tvbuffer attached to tvb if * uncompression succeeded or NULL if uncompression failed. */ -extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent, tvbuff_t *tvb, +WS_DLL_PUBLIC tvbuff_t *tvb_child_uncompress(tvbuff_t *parent, tvbuff_t *tvb, const int offset, int comprlen); /* From tvbuff_base64.c */ |