xfrin.c revision 2afc4436365326855a64e858d9713a70b44b99b7
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright (C) 1999 Internet Software Consortium.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Permission to use, copy, modify, and distribute this software for any
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * purpose with or without fee is hereby granted, provided that the above
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * copyright notice and this permission notice appear in all copies.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy /* $Id: xfrin.c,v 1.9 1999/09/28 13:51:18 gson Exp $ */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Incoming AXFR and IXFR.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * maintenance based on SOA timers (with support for the "dialup" option)
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * transmitting SOA queries
struct xfrin_ctx {
} axfr;
} ixfr;
static dns_result_t
unsigned int port,
static dns_result_t
return (result);
static dns_result_t
dbp));
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
return (result);
static dns_result_t
redo:
case XFRST_INITIALSOA:
case XFRST_FIRSTDATA:
goto redo;
case XFRST_IXFR_DELSOA:
case XFRST_IXFR_DEL:
goto redo;
case XFRST_IXFR_ADDSOA:
case XFRST_IXFR_ADD:
goto redo;
case XFRST_AXFR:
case XFRST_END:
INSIST(0);
return (result);
unsigned int len;
== DNS_R_SUCCESS);
dbi,
db,
task,
name,
xfrin_test(void) {
static dns_result_t
unsigned int port,
return (DNS_R_NOMEMORY);
return (DNS_R_SUCCESS);
return (result);
static dns_result_t
return (result);
static dns_result_t
return (DNS_R_SUCCESS);
return (result);
goto failure;
goto failure;
static isc_boolean_t
return (ISC_FALSE);
return (ISC_TRUE);