aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.dissector
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-24 17:10:20 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-25 02:24:34 +0000
commit099698445b5cd60b00777ae47f68fba620fa975e (patch)
tree8c37921e0fa9893dd0c00e3b66f287c4d7d1a78d /doc/README.dissector
parent6beb19af8e86c17d9b2d69bf1cc0b2e24fbc111b (diff)
Move the proto data stuff out of frame_data.[ch].
It's not tied to the frame_data structure any more, so it belongs by itself. Clean up some #includes while we're at it; in particular, frame_data.h doesn't use anything related to tvbuffs, so don't have it gratuitiously include tvbuff.h. Change-Id: Ic32922d4a3840bac47007c5d4c546b8842245e0c Reviewed-on: https://code.wireshark.org/review/13518 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc/README.dissector')
-rw-r--r--doc/README.dissector4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector
index 964c4b0bc5..59fced396d 100644
--- a/doc/README.dissector
+++ b/doc/README.dissector
@@ -2874,6 +2874,8 @@ persistent data about the packet for the lifetime of the capture (file scope)
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).
+These functions are delcared in <epan/proto_data.h>.
+
void
p_add_proto_data(wmem_allocator_t *scope, packet_info *pinfo, int proto, guint32 key, void *proto_data)
void *
@@ -2986,6 +2988,8 @@ Where: module - Returned by the prefs_register_protocol routine
menu
max_value - The maximum allowed value for a range (0 is the minimum).
+These functions are declared in <epan/prefs.h>.
+
An example from packet-beep.c -
proto_beep = proto_register_protocol("Blocks Extensible Exchange Protocol",