]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/bind9/lib/dns/include/dst/gssapi.h
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / bind9 / lib / dns / include / dst / gssapi.h
1 /*
2  * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
3  * Copyright (C) 2000, 2001  Internet Software Consortium.
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15  * PERFORMANCE OF THIS SOFTWARE.
16  */
17
18 /* $Id: gssapi.h,v 1.1.6.3 2005/04/29 00:16:28 marka Exp $ */
19
20 #ifndef DST_GSSAPI_H
21 #define DST_GSSAPI_H 1
22
23 /*! \file */
24
25 #include <isc/lang.h>
26
27 #include <isc/types.h>
28
29 ISC_LANG_BEGINDECLS
30
31 /***
32  *** Types
33  ***/
34
35 /***
36  *** Functions
37  ***/
38
39 isc_result_t
40 dst_gssapi_acquirecred(dns_name_t *name, isc_boolean_t initiate, void **cred);
41
42 isc_result_t
43 dst_gssapi_initctx(dns_name_t *name, void *cred,
44                    isc_region_t *intoken, isc_buffer_t *outtoken,
45                    void **context);
46
47 isc_result_t
48 dst_gssapi_acceptctx(dns_name_t *name, void *cred,
49                      isc_region_t *intoken, isc_buffer_t *outtoken,
50                      void **context);
51
52 /*
53  * XXX
54  */
55
56 ISC_LANG_ENDDECLS
57
58 #endif /* DST_GSSAPI_H */