2000-12-14 21:33:11 +00:00
|
|
|
/*
|
2016-06-27 14:56:38 +10:00
|
|
|
* Copyright (C) 2000-2002, 2004, 2005, 2007, 2010, 2011, 2013, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
|
2001-01-09 22:01:04 +00:00
|
|
|
*
|
2016-06-27 14:56:38 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2000-12-14 21:33:11 +00:00
|
|
|
*/
|
|
|
|
|
2011-12-09 23:47:05 +00:00
|
|
|
/* $Id: check-tool.h,v 1.18 2011/12/09 23:47:02 tbox Exp $ */
|
2000-12-14 21:33:11 +00:00
|
|
|
|
|
|
|
#ifndef CHECK_TOOL_H
|
|
|
|
#define CHECK_TOOL_H
|
|
|
|
|
2005-04-27 04:57:32 +00:00
|
|
|
/*! \file */
|
|
|
|
|
2000-12-14 21:33:11 +00:00
|
|
|
#include <isc/lang.h>
|
2007-05-21 02:47:25 +00:00
|
|
|
#include <isc/stdio.h>
|
2000-12-14 21:33:11 +00:00
|
|
|
#include <isc/types.h>
|
2005-06-20 01:05:33 +00:00
|
|
|
|
|
|
|
#include <dns/masterdump.h>
|
2001-09-03 08:21:46 +00:00
|
|
|
#include <dns/types.h>
|
2000-12-14 21:33:11 +00:00
|
|
|
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
|
|
|
|
isc_result_t
|
2007-05-21 02:47:25 +00:00
|
|
|
setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp);
|
2000-12-14 21:33:11 +00:00
|
|
|
|
2001-09-03 08:21:46 +00:00
|
|
|
isc_result_t
|
|
|
|
load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
|
2005-06-20 01:05:33 +00:00
|
|
|
dns_masterformat_t fileformat, const char *classname,
|
2014-02-18 23:26:50 -08:00
|
|
|
dns_ttl_t maxttl, dns_zone_t **zonep);
|
2001-09-03 08:21:46 +00:00
|
|
|
|
2004-01-07 05:27:17 +00:00
|
|
|
isc_result_t
|
2005-06-20 01:05:33 +00:00
|
|
|
dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
|
2011-12-08 16:07:22 +00:00
|
|
|
dns_masterformat_t fileformat, const dns_master_style_t *style,
|
|
|
|
const isc_uint32_t rawversion);
|
2004-01-07 05:27:17 +00:00
|
|
|
|
2010-09-07 01:49:08 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
void InitSockets(void);
|
|
|
|
void DestroySockets(void);
|
|
|
|
#endif
|
|
|
|
|
2001-09-03 08:21:46 +00:00
|
|
|
extern int debug;
|
2013-01-09 16:56:46 -08:00
|
|
|
extern const char *journal;
|
2002-04-02 06:54:07 +00:00
|
|
|
extern isc_boolean_t nomerge;
|
2005-05-19 04:59:05 +00:00
|
|
|
extern isc_boolean_t docheckmx;
|
|
|
|
extern isc_boolean_t docheckns;
|
|
|
|
extern isc_boolean_t dochecksrv;
|
2002-07-19 02:34:58 +00:00
|
|
|
extern unsigned int zone_options;
|
2014-02-18 23:26:50 -08:00
|
|
|
extern unsigned int zone_options2;
|
2001-09-03 08:21:46 +00:00
|
|
|
|
2000-12-14 21:33:11 +00:00
|
|
|
ISC_LANG_ENDDECLS
|
|
|
|
|
|
|
|
#endif
|