1 /* $NetBSD: zonekey.h,v 1.1 2024/02/18 20:57:39 christos Exp $ */ 2 3 /* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * SPDX-License-Identifier: MPL-2.0 7 * 8 * This Source Code Form is subject to the terms of the Mozilla Public 9 * License, v. 2.0. If a copy of the MPL was not distributed with this 10 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 11 * 12 * See the COPYRIGHT file distributed with this work for additional 13 * information regarding copyright ownership. 14 */ 15 16 #ifndef DNS_ZONEKEY_H 17 #define DNS_ZONEKEY_H 1 18 19 /*! \file dns/zonekey.h */ 20 21 #include <stdbool.h> 22 23 #include <isc/lang.h> 24 25 #include <dns/types.h> 26 27 ISC_LANG_BEGINDECLS 28 29 bool 30 dns_zonekey_iszonekey(dns_rdata_t *keyrdata); 31 /*%< 32 * Determines if the key record contained in the rdata is a zone key. 33 * 34 * Requires: 35 * 'keyrdata' is not NULL. 36 */ 37 38 ISC_LANG_ENDDECLS 39 40 #endif /* DNS_ZONEKEY_H */ 41