2017-09-06 10:57:40 -07:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2017-09-06 10:57:40 -07:00
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
2020-09-14 16:20:40 -07:00
|
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
2017-09-06 10:57:40 -07:00
|
|
|
*/
|
|
|
|
|
2021-10-05 16:49:47 +02:00
|
|
|
#pragma once
|
2017-09-06 10:57:40 -07:00
|
|
|
|
|
|
|
/*! \file */
|
|
|
|
|
2018-04-17 08:29:14 -07:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2017-09-06 10:57:40 -07:00
|
|
|
#include <isc/result.h>
|
2020-02-12 13:59:18 +01:00
|
|
|
|
2017-09-06 10:57:40 -07:00
|
|
|
#include <dns/types.h>
|
|
|
|
|
|
|
|
/*%
|
|
|
|
* These functions must not be used outside this module and
|
|
|
|
* its associated unit tests.
|
|
|
|
*/
|
|
|
|
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
|
2018-04-17 08:29:14 -07:00
|
|
|
bool
|
2017-09-06 10:57:40 -07:00
|
|
|
dns__tsig_algvalid(unsigned int alg);
|
|
|
|
unsigned int
|
|
|
|
dns__tsig_algfromname(const dns_name_t *algorithm);
|
|
|
|
const dns_name_t *
|
|
|
|
dns__tsig_algnamefromname(const dns_name_t *algorithm);
|
2018-04-17 08:29:14 -07:00
|
|
|
bool
|
2017-09-06 10:57:40 -07:00
|
|
|
dns__tsig_algallocated(const dns_name_t *algorithm);
|
|
|
|
|
|
|
|
ISC_LANG_ENDDECLS
|