2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Reformat using the new rules

This commit is contained in:
Ondřej Surý
2020-02-14 08:14:03 +01:00
parent 654927c871
commit 5777c44ad0
283 changed files with 2991 additions and 2545 deletions

View File

@@ -102,30 +102,37 @@
#define NEGATIVE(r) (((r)->attributes & DNS_RDATASETATTR_NEGATIVE) != 0)
#define NXDOMAIN(r) (((r)->attributes & DNS_RDATASETATTR_NXDOMAIN) != 0)
static void destroy(dns_validator_t *val);
static void
destroy(dns_validator_t *val);
static isc_result_t select_signing_key(dns_validator_t *val,
dns_rdataset_t *rdataset);
static isc_result_t
select_signing_key(dns_validator_t *val, dns_rdataset_t *rdataset);
static isc_result_t validate_answer(dns_validator_t *val, bool resume);
static isc_result_t
validate_answer(dns_validator_t *val, bool resume);
static isc_result_t validate_dnskey(dns_validator_t *val);
static isc_result_t
validate_dnskey(dns_validator_t *val);
static isc_result_t validate_nx(dns_validator_t *val, bool resume);
static isc_result_t
validate_nx(dns_validator_t *val, bool resume);
static isc_result_t proveunsecure(dns_validator_t *val, bool have_ds,
bool resume);
static isc_result_t
proveunsecure(dns_validator_t *val, bool have_ds, bool resume);
static void validator_logv(dns_validator_t *val, isc_logcategory_t *category,
isc_logmodule_t *module, int level, const char *fmt,
va_list ap) ISC_FORMAT_PRINTF(5, 0);
static void
validator_logv(dns_validator_t *val, isc_logcategory_t *category,
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
ISC_FORMAT_PRINTF(5, 0);
static void validator_log(void *val, int level, const char *fmt, ...)
static void
validator_log(void *val, int level, const char *fmt, ...)
ISC_FORMAT_PRINTF(3, 4);
static void validator_logcreate(dns_validator_t *val, dns_name_t *name,
dns_rdatatype_t type, const char *caller,
const char *operation);
static void
validator_logcreate(dns_validator_t *val, dns_name_t *name,
dns_rdatatype_t type, const char *caller,
const char *operation);
/*%
* Ensure the validator's rdatasets are marked as expired.