summaryrefslogtreecommitdiff
path: root/epan/proto_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/proto_data.h')
-rw-r--r--epan/proto_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/proto_data.h b/epan/proto_data.h
index 987eca7b9e..1e8d79abc4 100644
--- a/epan/proto_data.h
+++ b/epan/proto_data.h
@@ -29,6 +29,7 @@ extern "C" {
#include "ws_symbol_export.h"
+/* Allocator should be either pinfo->pool or wmem_file_scope() */
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);
WS_DLL_PUBLIC void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key);