diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-02-01 07:34:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-02-01 07:34:33 +0000 |
commit | 8b5164320306d2f56831b6ce5215a8ae4182688a (patch) | |
tree | 36dc335eab009cbaa8d718ddf710f669b3232f2f /epan/proto.h | |
parent | 562eae009f950c33162eda722e0ae4259e298c01 (diff) |
"Decode As" dialog, from David Hampton.
svn path=/trunk/; revision=2965
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h index 8093ee886a..e5abb3fd13 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.4 2001/01/26 06:14:50 guy Exp $ + * $Id: proto.h,v 1.5 2001/02/01 07:34:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -525,6 +525,9 @@ void proto_set_decoding(int proto_id, gboolean enabled); /* Disable disabling of protocol */ void proto_set_cant_disable(int proto_id); +gpointer proto_get_protocol_dissector(int proto_id); +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 */ |