diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-07-25 07:38:55 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-07-25 11:45:04 +0000 |
commit | 77016503fe619ce92bb1de43504a2a11fe7a49a6 (patch) | |
tree | c299b212787c89c9421aaadce9562c541a6e0159 /doc | |
parent | 9ccf2e04c84776c8f23420ce9fdbfabb3735e75f (diff) | |
download | wireshark-77016503fe619ce92bb1de43504a2a11fe7a49a6.tar.gz wireshark-77016503fe619ce92bb1de43504a2a11fe7a49a6.tar.bz2 wireshark-77016503fe619ce92bb1de43504a2a11fe7a49a6.zip |
Update documentaion for p_(add|get)_proto_data(); There's been a 'key' arg for a while.
Change-Id: I1166a63d8896d0d5fc63b558ebb0df2e1e19bc63
Reviewed-on: https://code.wireshark.org/review/3197
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 3da238283e..1f1ca781c5 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -2703,9 +2703,9 @@ and to exchange data between dissectors across a single packet (packet scope). It is also used to provide packet data for Decode As dialog (packet scope). void -p_add_proto_data(wmem_allocator_t *scope, frame_data *fd, int proto, void *proto_data) +p_add_proto_data(wmem_allocator_t *scope, frame_data *fd, int proto, guint32 key, void *proto_data) void * -p_get_proto_data(wmem_allocator_t *scope, frame_data *fd, int proto) +p_get_proto_data(wmem_allocator_t *scope, frame_data *fd, int proto, guint32 key) Where: scope - Lifetime of the data to be stored, typically wmem_file_scope() @@ -2714,6 +2714,7 @@ Where: fd - The fd pointer in the pinfo structure, pinfo->fd proto - Protocol id returned by the proto_register_protocol call during initialization + key - key associated with 'proto_data' proto_data - pointer to the dissector data. |