add details for doxygen
[obnox/wireshark/wip.git] / packet-gssapi.h
1 /* packet-gssapi.h
2  * Dissector for GSS-API tokens as described in rfc2078, section 3.1
3  * Copyright 2002, Tim Potter <tpot@samba.org>
4  *
5  * $Id: packet-gssapi.h,v 1.9 2003/11/16 23:17:19 guy Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PACKET_GSSAPI_H
27 #define __PACKET_GSSAPI_H
28
29 /* Structures needed outside */
30
31 typedef struct _gssapi_oid_value {
32         protocol_t *proto;
33         int ett;
34         dissector_handle_t handle;
35         dissector_handle_t wrap_handle;
36         gchar *comment;  /* For the comment */
37 } gssapi_oid_value;
38
39 /* Function prototypes */
40
41 void
42 gssapi_init_oid(char *oid, int proto, int ett, dissector_handle_t handle,
43                 dissector_handle_t wrap_handle, gchar *comment);
44
45 gssapi_oid_value *
46 gssapi_lookup_oid(subid_t *oid, guint oid_len);
47
48 #endif /* __PACKET_GSSAPI_H */