diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 4 |
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", |