/*
* Copyright (C) 2004, 2005, 2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2002 Internet Software Consortium.
*
* 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 ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC 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.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <errno.h>
#include <stdlib.h>
#include <isccfg/namedconf.h>
static void
if (result == ISC_R_SUCCESS)
return;
exit(1);
}
static void
}
static void
usage(void) {
"[--grammar] [--memstats] conffile\n");
exit(1);
}
int
/*
* Create and install the default channel.
*/
/*
* Set the initial debug level.
*/
if (argc < 3)
usage();
while (argc > 1) {
usage();
} else {
}
}
if (grammar) {
usage();
} else {
usage();
if (result != ISC_R_SUCCESS)
exit(1);
}
if (memstats)
return (1);
} else
return (0);
}