named-checkzone.c revision 2dafa707cc9af9cca66d68c1d2c3af0c768c2900
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * Copyright (C) 1999-2003 Internet Software Consortium.
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * Permission to use, copy, modify, and distribute this software for any
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * purpose with or without fee is hereby granted, provided that the above
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * copyright notice and this permission notice appear in all copies.
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews * PERFORMANCE OF THIS SOFTWARE.
71bd858d8ed62672e7c23999dc7c02fd16a55089Evan Hunt/* $Id: named-checkzone.c,v 1.44 2006/08/30 22:57:16 marka Exp $ */
#include "check-tool.h"
static int quiet = 0;
static int dumpzone = 0;
static const char *output_filename;
if (!quiet) \
return (result); \
usage(void) {
destroy(void) {
prog_name++;
INSIST(0);
!= EOF) {
debug++;
quiet++;
exit(0);
dumpzone++;
usage();
usage();
usage();
if (!quiet)
== ISC_R_SUCCESS);
&zone);
destroy();