diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-08-31 22:22:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-08-31 22:22:29 +0000 |
commit | 4e4000a12d64338eae8242b580c71ffb9b7ff916 (patch) | |
tree | 154b9210e3d612ab67a39d50067c3acde904e088 /packet-gssapi.h | |
parent | 9a342916066917e55488de3d52e247ff585c6a77 (diff) | |
download | wireshark-4e4000a12d64338eae8242b580c71ffb9b7ff916.tar.gz wireshark-4e4000a12d64338eae8242b580c71ffb9b7ff916.tar.bz2 wireshark-4e4000a12d64338eae8242b580c71ffb9b7ff916.zip |
Make "gssapi_init_oid()" take a dissector handle rather than a
registered dissector name; that means you don't have to register a
dissector by name to associate it with a GSS-API security mechanism OID.
svn path=/trunk/; revision=6163
Diffstat (limited to 'packet-gssapi.h')
-rw-r--r-- | packet-gssapi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-gssapi.h b/packet-gssapi.h index b37aa58b28..602aea9bb8 100644 --- a/packet-gssapi.h +++ b/packet-gssapi.h @@ -2,7 +2,7 @@ * Dissector for GSS-API tokens as described in rfc2078, section 3.1 * Copyright 2002, Tim Potter <tpot@samba.org> * - * $Id: packet-gssapi.h,v 1.4 2002/08/29 05:26:45 sharpe Exp $ + * $Id: packet-gssapi.h,v 1.5 2002/08/31 22:22:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -31,7 +31,7 @@ typedef struct _gssapi_oid_value { int proto; int ett; - gchar *name; + dissector_handle_t handle; gchar *comment; /* For the comment */ } gssapi_oid_value; @@ -42,6 +42,6 @@ extern GHashTable *gssapi_oids; /* Function prototypes */ void -gssapi_init_oid(char *oid, int proto, int ett, char *name); +gssapi_init_oid(char *oid, int proto, int ett, dissector_handle_t handle); #endif /* __PACKET_GSSAPI_H */ |