"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.16.7/lib/dns/zone_p.h" (4 Sep 2020, 1257 Bytes) of package /linux/misc/dns/bind9/9.16.7/bind-9.16.7.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 "zone_p.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 DNS_ZONE_P_H
   13 #define DNS_ZONE_P_H
   14 
   15 #include <stdbool.h>
   16 
   17 /*! \file */
   18 
   19 /*%
   20  *     Types and functions below not be used outside this module and its
   21  *     associated unit tests.
   22  */
   23 
   24 ISC_LANG_BEGINDECLS
   25 
   26 typedef struct {
   27     dns_diff_t *diff;
   28     bool offline;
   29 } dns__zonediff_t;
   30 
   31 isc_result_t
   32 dns__zone_findkeys(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
   33            isc_stdtime_t now, isc_mem_t *mctx, unsigned int maxkeys,
   34            dst_key_t **keys, unsigned int *nkeys);
   35 
   36 isc_result_t
   37 dns__zone_updatesigs(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *version,
   38              dst_key_t *zone_keys[], unsigned int nkeys,
   39              dns_zone_t *zone, isc_stdtime_t inception,
   40              isc_stdtime_t expire, isc_stdtime_t keyxpire,
   41              isc_stdtime_t now, bool check_ksk, bool keyset_kskonly,
   42              dns__zonediff_t *zonediff);
   43 
   44 ISC_LANG_ENDDECLS
   45 
   46 #endif /* DNS_ZONE_P_H */