Annotation of src/external/mpl/bind/dist/bin/named/include/named/tkeyconf.h, Revision 1.1.1.2
1.1 christos 1: /* $NetBSD$ */
2:
3: /*
4: * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5: *
6: * This Source Code Form is subject to the terms of the Mozilla Public
7: * License, v. 2.0. If a copy of the MPL was not distributed with this
8: * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9: *
10: * See the COPYRIGHT file distributed with this work for additional
11: * information regarding copyright ownership.
12: */
13:
14: #ifndef NAMED_TKEYCONF_H
15: #define NAMED_TKEYCONF_H 1
16:
17: /*! \file */
18:
19: #include <isc/types.h>
20: #include <isc/lang.h>
21:
22: #include <isccfg/cfg.h>
23:
24: ISC_LANG_BEGINDECLS
25:
26: isc_result_t
27: named_tkeyctx_fromconfig(const cfg_obj_t *options, isc_mem_t *mctx,
1.1.1.2 ! christos 28: dns_tkeyctx_t **tctxp);
1.1 christos 29: /*%<
30: * Create a TKEY context and configure it, including the default DH key
31: * and default domain, according to 'options'.
32: *
33: * Requires:
34: *\li 'cfg' is a valid configuration options object.
35: *\li 'mctx' is not NULL
36: *\li 'tctx' is not NULL
37: *\li '*tctx' is NULL
38: *
39: * Returns:
40: *\li ISC_R_SUCCESS
41: *\li ISC_R_NOMEMORY
42: */
43:
44: ISC_LANG_ENDDECLS
45:
46: #endif /* NAMED_TKEYCONF_H */
CVSweb <webmaster@jp.NetBSD.org>