Commit 76ec1421 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

added 'matchclients' field

parent ed6baf51
......@@ -77,6 +77,31 @@ dns_validator_create(dns_view_t *view, dns_name_t *name,
dns_message_t *message, unsigned int options,
isc_task_t *task, isc_taskaction_t action, void *arg,
dns_validator_t **validatorp);
/*
* Create a validator object for validating that 'rdataset', owned
* by 'name', is correctly signed by 'sigrdataset', or that 'message'
* is a correctly signed negative response.
*
* Requires:
* 'name', 'rdataset', and 'sigrdataset' are valid,
* and 'message' is NULL, or
*
* 'name', 'rdataset', and 'sigrdataset' are NULL,
* and 'message' is valid.
*
* ...
*
* Ensures:
* If ISC_R_SUCCESS is returned,
*
* '*validatorp' points to a valid validator object,
*
* The validator object has started validating, and
*
* A completion event with the given 'action' and 'arg' will
* eventually be sent to 'task'.
*
*/
void
dns_validator_cancel(dns_validator_t *validator);
......
......@@ -95,6 +95,11 @@ struct dns_view {
dns_tsig_keyring_t * statickeys;
dns_tsig_keyring_t * dynamickeys;
dns_peerlist_t * peers;
/*
* Configurable data for server use only,
* locked by server configuration lock.
*/
dns_acl_t * matchclients;
/* Locked by lock. */
unsigned int references;
unsigned int attributes;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment