zoneconf.c revision 8bba70c48d74a389a075b9c80837161b4ed91e88
3b398443f0dca316ba7a6e057ba2d1b8ab4ddf70Tinderbox User * Copyright (C) 1999, 2000 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * Permission to use, copy, modify, and distribute this software for any
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * purpose with or without fee is hereby granted, provided that the above
4c1132f34493327abc632196f5876a89aa573687Bob Halley * copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb/* $Id: zoneconf.c,v 1.70 2000/11/18 00:57:23 gson Exp $ */
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley#include <isc/string.h> /* Required for HP/UX (and others?) */
* library defaults defined in zone.c.
#define RETERR(x) do { \
return (_r); \
static isc_result_t
dns_c_ipmatchlist_t **),
, dns_c_ipmatchlist_t **),
dns_c_ipmatchlist_t **),
return (result);
return (ISC_R_SUCCESS);
return (ISC_R_SUCCESS);
return (result);
static dns_zonetype_t
switch (cztype) {
case dns_c_zone_master:
return dns_zone_master;
case dns_c_zone_slave:
return dns_zone_slave;
case dns_c_zone_stub:
return dns_zone_stub;
INSIST(0);
static isc_result_t
char ***argvp, unsigned int n)
*argcp = n;
return (ISC_R_NOMEMORY);
return (result);
(*argvp)[n] = s;
return (ISC_R_SUCCESS);
static isc_result_t
#ifdef notyet
char *cpval;
unsigned int dbargc;
char **dbargv;
#ifdef notyet
return (result);
#ifdef notyet
#ifndef NOMINUM_PUBLIC
if (statistics)
#ifndef NOMINUM_PUBLIC
uintval = 0;
return (result);
&uintval);
&uintval);
&uintval);
&uintval);
&uintval);
&uintval);
case dns_c_zone_slave:
case dns_c_zone_stub:
#ifndef NOMINUM_PUBLIC
&uintval);
&uintval);
return (ISC_R_SUCCESS);
const char *cfilename;
const char *zfilename;
return (ISC_FALSE);
return (ISC_FALSE);
return (ISC_TRUE);
return (ISC_R_SUCCESS);