confzone.c revision 29bf8316a33dbacaa4f37755bea495d6b9fac152
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#include <config.h>
#include <isc/assertions.h>
#include <dns/confzone.h>
#include <dns/confcommon.h>
#include "confpvt.h"
/*
* Bit positions in the dns_c_masterzone_t structure setflags field.
*/
#define MZ_CHECK_NAME_BIT 0
#define MZ_DIALUP_BIT 1
#define MZ_NOTIFY_BIT 2
#define MZ_MAINT_IXFR_BASE_BIT 3
#define MZ_MAX_IXFR_LOG_BIT 4
#define MZ_FORWARD_BIT 5
/*
* Bit positions in the dns_c_slavezone_t structure setflags field.
*/
#define SZ_CHECK_NAME_BIT 0
#define SZ_DIALUP_BIT 1
#define SZ_MASTER_PORT_BIT 2
#define SZ_TRANSFER_SOURCE_BIT 3
#define SZ_MAX_TRANS_TIME_IN_BIT 4
#define SZ_NOTIFY_BIT 5
#define SZ_MAINT_IXFR_BASE_BIT 6
#define SZ_MAX_IXFR_LOG_BIT 7
#define SZ_FORWARD_BIT 8
#define TZ_CHECK_NAME_BIT 0
#define TZ_DIALUP_BIT 1
#define TZ_MASTER_PORT_BIT 2
#define TZ_TRANSFER_SOURCE_BIT 3
#define TZ_MAX_TRANS_TIME_IN_BIT 4
#define TZ_FORWARD_BIT 5
/*
* Bit positions in the dns_c_forwardzone_t structure setflags field.
*/
#define FZ_CHECK_NAME_BIT 0
#define FZ_FORWARD_BIT 1
/*
* Bit positions in the dns_c_hintzone_t structure setflags field.
*/
#define HZ_CHECK_NAME_BIT 0
{
(void)lctx;
return (ISC_R_NOMEMORY);
}
return (ISC_R_SUCCESS);
}
{
if (res != ISC_R_SUCCESS) {
return (res);
}
}
return (ISC_R_SUCCESS);
}
{
(void) lctx;
return (ISC_R_NOMEMORY);
}
return (ISC_R_SUCCESS);
}
#if 0 /* XXXJAB drop this function */
{
}
#endif
{
(void)lctx;
break;
}
}
}
}
const char *name)
{
(void) lctx;
break;
}
}
} else {
}
return (res);
}
{
break;
}
}
} else {
}
return (res);
}
void
{
}
void
{
}
void
{
}
static void
{
return;
}
}
}
}
return;
}
/* ************************************************************************ */
/* ******************************** ZONEs ********************************* */
/* ************************************************************************ */
const char *name, const char *internalname,
dns_c_zone_t **zone)
{
return (ISC_R_NOMEMORY);
}
switch (ztype) {
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
break;
}
return (ISC_R_SUCCESS);
}
{
}
return (res);
}
void
{
(void) lctx;
}
void
{
return;
}
}
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
break;
}
}
{
char **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (*p != NULL) {
res = ISC_R_EXISTS;
} else {
res = ISC_R_SUCCESS;
}
if (*p == NULL) {
}
return (res);
}
{
dns_c_severity_t *p = NULL;
int bit = 0;
(void)lctx;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
break;
}
res = ISC_R_EXISTS;
} else {
res = ISC_R_SUCCESS;
}
*p = severity;
return (res);
}
{
dns_c_ipmatchlist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an allow_update field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_update field");
return (ISC_R_FAILURE);
}
res = ISC_R_EXISTS;
}
return (res);
}
{
dns_c_ipmatchlist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an allow_query field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_query field");
return (ISC_R_FAILURE);
}
res = ISC_R_EXISTS;
}
return (res);
}
{
dns_c_ipmatchlist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an "
"allow_transfer field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_transfer field");
return (ISC_R_FAILURE);
}
res = ISC_R_EXISTS;
}
return (res);
}
{
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a dialup field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a dialup field");
return (ISC_R_FAILURE);
}
}
{
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a notify field");
return (ISC_R_FAILURE);
}
}
{
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a "
"maintain-xfer-base field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a "
"maintain-xfer-base field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"maintain-xfer-base field");
return (ISC_R_FAILURE);
}
}
{
dns_c_iplist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a also_notify field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a also_notify field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a also_notify field");
return (ISC_R_FAILURE);
}
res = ISC_R_EXISTS;
}
return (res);
}
{
char **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a ixfr_base field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a ixfr_base field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (*p != NULL) {
} else {
}
if (*p == NULL) {
return (ISC_R_NOMEMORY);
}
}
{
char **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a ixfr_tmp field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a ixfr_tmp field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (*p != NULL) {
} else {
}
if (*p == NULL) {
return (ISC_R_NOMEMORY);
}
}
{
dns_c_pklist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
#if 1
#else
"Hint zones do not have a pubkey field");
#endif
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a pubkey field");
return (ISC_R_FAILURE);
}
if (*p == NULL) {
if (res != ISC_R_SUCCESS) {
return (res);
}
}
return (res);
}
{
case dns_c_zone_master:
"Forward zones do not have a "
"master_port field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a master_port field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"master_port field");
return (ISC_R_FAILURE);
}
}
{
dns_c_iplist_t **p;
case dns_c_zone_master:
"Master zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
case dns_c_zone_stub:
} else {
}
res = ISC_R_EXISTS;
}
break;
case dns_c_zone_hint:
"Hint zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a master_ips field");
return (ISC_R_FAILURE);
}
return (res);
}
{
case dns_c_zone_master:
"Master zones do not have a "
"transfer_source field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a master_ips field");
return (ISC_R_FAILURE);
}
}
{
case dns_c_zone_master:
"Master zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
}
}
{
isc_int32_t *p = NULL;
int bit = 0;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a max-ixfr-log field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a max-ixfr-log field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"max-ixfr-log field");
return (ISC_R_FAILURE);
}
res = ISC_R_EXISTS;
} else {
res = ISC_R_SUCCESS;
}
*p = newval;
return (res);
}
{
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a forward field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
break;
}
}
{
dns_c_iplist_t **p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have a forwarders field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
break;
}
res = ISC_R_EXISTS;
}
return (res);
}
{
(void) lctx;
return (ISC_R_SUCCESS);
}
const char **retval)
{
(void) lctx;
return (ISC_R_SUCCESS);
}
{
const char *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
*retval = p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_severity_t *p = NULL;
int bit = 0;
(void)lctx;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
break;
}
*retval = *p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_ipmatchlist_t *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an allow_update field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_update field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_ipmatchlist_t *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an allow_query field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_query field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_ipmatchlist_t *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
"Hint zones do not have an "
"allow_transfer field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have an "
"allow_transfer field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
case dns_c_zone_master:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a dialup field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a dialup field");
return (ISC_R_FAILURE);
}
return (res);
}
{
int bit = 0;
case dns_c_zone_master:
bit = MZ_DIALUP_BIT;
break;
case dns_c_zone_slave:
bit = SZ_DIALUP_BIT;
break;
case dns_c_zone_stub:
"Stub zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a notify field");
return (ISC_R_FAILURE);
}
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
int bit = 0;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a notify field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a notify field");
return (ISC_R_FAILURE);
}
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_iplist_t *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a also_notify field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a also_notify field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a also_notify field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
*retval = p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
const char **retval)
{
char *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a ixfr_base field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a ixfr_base field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
*retval = p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
char *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a ixfr_tmp field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a ixfr_tmp field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a file field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
*retval = p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
dns_c_pklist_t *p = NULL;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
#if 1
#else
"Hint zones do not have a pubkey field");
#endif
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a pubkey field");
return (ISC_R_FAILURE);
}
if (p != NULL) {
*retval = p;
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
case dns_c_zone_master:
"Forward zones do not have a "
"master_port field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a master_port field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"master_port field");
return (ISC_R_FAILURE);
}
return (res);
}
{
case dns_c_zone_master:
"Master zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a master_ips field");
return (ISC_R_FAILURE);
}
return (res);
}
{
case dns_c_zone_master:
"Master zones do not have a "
"transfer_source field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a master_ips field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a master_ips field");
return (ISC_R_FAILURE);
}
return (res);
}
{
case dns_c_zone_master:
"Master zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"max_trans_time_in field");
return (ISC_R_FAILURE);
}
return (res);
}
{
int bit = 0;
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
"Stub zones do not have a max_ixfr_log field");
return (ISC_R_FAILURE);
case dns_c_zone_hint:
"Hint zones do not have a max_ixfr_log field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
"Forward zones do not have a "
"max_ixfr_log field");
return (ISC_R_FAILURE);
}
res = ISC_R_SUCCESS;
} else {
}
return (res);
}
{
case dns_c_zone_master:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a forward field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
res = ISC_R_SUCCESS;
} else {
}
break;
}
return (res);
}
{
case dns_c_zone_master:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_slave:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_stub:
res = ISC_R_SUCCESS;
} else {
}
break;
case dns_c_zone_hint:
"Hint zones do not have a forwarders field");
return (ISC_R_FAILURE);
case dns_c_zone_forward:
res = ISC_R_SUCCESS;
} else {
}
break;
}
return (res);
}
/*
* Zone privates
*/
static void
{
}
ISC_TRUE));
}
}
mzone->allow_query);
}
}
}
}
}
}
}
}
}
mzone->forwarders);
}
}
static void
{
}
ISC_TRUE));
}
}
}
if (szone->master_port != 0) {
}
}
} else {
}
}
szone->allow_query);
}
}
}
}
}
}
}
}
szone->forwarders);
}
}
static void
{
}
ISC_TRUE));
}
if (tzone->master_port != 0) {
}
}
} else {
}
}
tzone->allow_query);
}
}
}
}
}
}
tzone->forwarders);
}
}
static void
{
}
ISC_TRUE));
}
}
}
static void
{
ISC_TRUE));
}
}
fzone->forwarders);
}
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
static isc_result_t
{
dns_c_zone_t *z;
z = *zone;
switch(z->ztype) {
case dns_c_zone_master:
break;
case dns_c_zone_slave:
break;
case dns_c_zone_stub:
break;
case dns_c_zone_hint:
break;
case dns_c_zone_forward:
break;
}
isc_mem_put(z->mem, z, sizeof *z);
return (res);
}
static isc_result_t
{
return (ISC_R_SUCCESS);
}
}
}
}
return (ISC_R_SUCCESS);
}
static isc_result_t
{
return (ISC_R_SUCCESS);
}
}
}
}
return (ISC_R_SUCCESS);
}
static isc_result_t
{
return (ISC_R_SUCCESS);
}
}
return (ISC_R_SUCCESS);
}
static isc_result_t
{
return (ISC_R_SUCCESS);
}
(void) mem; /* lint happiness */
return (ISC_R_SUCCESS);
}
static isc_result_t
{
(void) lctx;
return (ISC_R_SUCCESS);
}
}
return (ISC_R_SUCCESS);
}
/**************************************************/
static isc_result_t
{
if (res != ISC_R_SUCCESS) {
return (res);
}
}
if (deepcopy) {
} else {
res = ISC_R_SUCCESS;
}
return (res);
}
static isc_result_t
{
if (res != ISC_R_SUCCESS) {
return (res);
}
}
if (deepcopy) {
} else {
res = ISC_R_SUCCESS;
}
return (res);
}