diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
commit | ee1b884ee9b7baa22ebf1a7e1363994124a0ff24 (patch) | |
tree | 1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /plugins/plugin_table.h | |
parent | f19c2e2defe72f740356a3df48a64f6e24918130 (diff) |
Tvbuffify the STP dissector, have it register itself and have the LLC
dissector call it through a handle, and make it static.
Give "dissect_data()" an "offset" argument, so dissectors can use it to
dissect part of the packet without having to cook up a new tvbuff.
Go back to using "dissect_data()" to dissect the data in an IPP request.
svn path=/trunk/; revision=2651
Diffstat (limited to 'plugins/plugin_table.h')
-rw-r--r-- | plugins/plugin_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h index a3fed7fa4a..126e205955 100644 --- a/plugins/plugin_table.h +++ b/plugins/plugin_table.h @@ -1,7 +1,7 @@ /* plugin_table.h * Table of exported addresses for Ethereal plugins. * - * $Id: plugin_table.h,v 1.9 2000/11/15 07:07:50 guy Exp $ + * $Id: plugin_table.h,v 1.10 2000/11/16 07:35:43 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@xiexie.org> @@ -56,7 +56,7 @@ typedef void (*addr_old_call_dissector)(dissector_handle_t, const u_char *, typedef void (*addr_call_dissector)(dissector_handle_t, tvbuff_t *, packet_info *, proto_tree *); -typedef void (*addr_dissect_data)(tvbuff_t *, packet_info *, proto_tree *); +typedef void (*addr_dissect_data)(tvbuff_t *, int, packet_info *, proto_tree *); typedef void (*addr_old_dissect_data)(const u_char *, int, frame_data *, proto_tree *); typedef gboolean (*addr_proto_is_protocol_enabled)(int); |