"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/bin/named/include/named/tkeyconf.h" (4 Sep 2020, 1039 Bytes) of package /linux/misc/dns/bind9/9.17.5/bind-9.17.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "tkeyconf.h" see the Fossies "Dox" file reference documentation.

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