2000-12-14 21:33:11 +00:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) 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/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
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 */
|
|
|
|
|
2018-03-28 14:19:37 +02:00
|
|
|
#include <inttypes.h>
|
2018-04-17 08:29:14 -07:00
|
|
|
#include <stdbool.h>
|
2018-03-28 14:19:37 +02:00
|
|
|
|
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>
|
2018-04-03 23:56:04 +02:00
|
|
|
#include <dns/zone.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,
|
2018-03-28 14:19:37 +02:00
|
|
|
const uint32_t rawversion);
|
2004-01-07 05:27:17 +00:00
|
|
|
|
2010-09-07 01:49:08 +00:00
|
|
|
#ifdef _WIN32
|
2020-02-12 13:59:18 +01:00
|
|
|
void
|
|
|
|
InitSockets(void);
|
|
|
|
void
|
|
|
|
DestroySockets(void);
|
2020-02-13 21:48:23 +01:00
|
|
|
#endif /* ifdef _WIN32 */
|
2010-09-07 01:49:08 +00:00
|
|
|
|
2020-02-12 13:59:18 +01:00
|
|
|
extern int debug;
|
|
|
|
extern const char * journal;
|
|
|
|
extern bool nomerge;
|
|
|
|
extern bool docheckmx;
|
|
|
|
extern bool docheckns;
|
|
|
|
extern bool dochecksrv;
|
2018-04-03 23:56:04 +02:00
|
|
|
extern dns_zoneopt_t zone_options;
|
2001-09-03 08:21:46 +00:00
|
|
|
|
2000-12-14 21:33:11 +00:00
|
|
|
ISC_LANG_ENDDECLS
|
|
|
|
|
2020-02-13 21:48:23 +01:00
|
|
|
#endif /* ifndef CHECK_TOOL_H */
|