summaryrefslogtreecommitdiff
path: root/epan/frame_data.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
commit85a8e304ddeb73c54ad7e86271d67543484645c9 (patch)
tree1cc041f936dcdb3e5e95946361b0c75f71cd31ac /epan/frame_data.h
parentf2ccdd6dbf1143374e62bc645a703870f2106719 (diff)
downloadwireshark-85a8e304ddeb73c54ad7e86271d67543484645c9.tar.gz
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'epan/frame_data.h')
-rw-r--r--epan/frame_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/frame_data.h b/epan/frame_data.h
index 94bc7404dd..6710e341f0 100644
--- a/epan/frame_data.h
+++ b/epan/frame_data.h
@@ -90,9 +90,9 @@ typedef struct {
/* Utility routines used by packet*.c */
-WS_DLL_PUBLIC void p_add_proto_data(frame_data *fd, int proto, void *proto_data);
-WS_DLL_PUBLIC void *p_get_proto_data(frame_data *fd, int proto);
-void p_remove_proto_data(frame_data *fd, int proto);
+WS_DLL_PUBLIC void p_add_proto_data(frame_data *fd, int proto, guint8 key, void *proto_data);
+WS_DLL_PUBLIC void *p_get_proto_data(frame_data *fd, int proto, guint8 key);
+void p_remove_proto_data(frame_data *fd, int proto, guint8 key);
/** compare two frame_datas */
WS_DLL_PUBLIC gint frame_data_compare(const frame_data *fdata1, const frame_data *fdata2, int field);