diff options
author | Michael Mann <mmann78@netscape.net> | 2013-11-23 22:29:31 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-11-23 22:29:31 +0000 |
commit | 318d38b576603721ce21ff269c0bb9e60dc766b0 (patch) | |
tree | b19bf7382e00fb2defac48b1feec6486678a7c6c /epan/frame_data.h | |
parent | d97c9e2ff4b28835e3485e643a93ef53f778370f (diff) |
Use 32bit key in p_add_proto_data() and friends. Bug 9453 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9453)
From Dirk
svn path=/trunk/; revision=53529
Diffstat (limited to 'epan/frame_data.h')
-rw-r--r-- | epan/frame_data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/frame_data.h b/epan/frame_data.h index 2bf074ad3b..2755593be6 100644 --- a/epan/frame_data.h +++ b/epan/frame_data.h @@ -97,9 +97,9 @@ typedef struct { /* Utility routines used by packet*.c */ struct _packet_info; -WS_DLL_PUBLIC void p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key, void *proto_data); -WS_DLL_PUBLIC void *p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key); -void p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key); +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); gchar *p_get_proto_name_and_key(wmem_allocator_t *scope, struct _packet_info* pinfo, guint pfd_index); /* no sense to include epan.h + dependencies for opaque epan session type */ |