diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-03 04:00:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-03 04:00:26 +0000 |
commit | bced8711f67b5dba76e9d6cdfd1a0246b235df27 (patch) | |
tree | 6303e298a7b136a1e1da306950398c99e3e71432 /epan/proto.h | |
parent | 8d0ea8bc932de5cf57183a593be160515af064d9 (diff) |
Make "dissector_add()", "dissector_delete()", and "dissector_change()"
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID. Associate dissector handles with
dissector table entries.
svn path=/trunk/; revision=4308
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h index 9e23889b29..8f031b905b 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.22 2001/11/26 05:41:13 hagbard Exp $ + * $Id: proto.h,v 1.23 2001/12/03 04:00:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -506,9 +506,6 @@ extern void proto_set_decoding(int proto_id, gboolean enabled); /* Disable disabling of protocol */ extern void proto_set_cant_disable(int proto_id); -gpointer proto_get_protocol_dissector(int proto_id); -extern void proto_set_protocol_dissector(int proto_id, gpointer dissector); - /* Get length of registered field according to field type. * 0 means undeterminable at registration time. * -1 means unknown field */ |