mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Add master_style_parsable
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: masterdump.h,v 1.13 2000/08/03 19:50:11 bwelling Exp $ */
|
/* $Id: masterdump.h,v 1.14 2001/01/04 22:19:18 mws Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_MASTERDUMP_H
|
#ifndef DNS_MASTERDUMP_H
|
||||||
#define DNS_MASTERDUMP_H 1
|
#define DNS_MASTERDUMP_H 1
|
||||||
@@ -54,7 +54,7 @@ ISC_LANG_BEGINDECLS
|
|||||||
*/
|
*/
|
||||||
extern const dns_master_style_t dns_master_style_default;
|
extern const dns_master_style_t dns_master_style_default;
|
||||||
extern const dns_master_style_t dns_master_style_explicitttl;
|
extern const dns_master_style_t dns_master_style_explicitttl;
|
||||||
|
extern const dns_master_style_t dns_master_style_parsable;
|
||||||
|
|
||||||
/***
|
/***
|
||||||
*** Functions
|
*** Functions
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: masterdump.c,v 1.38 2000/12/11 19:24:12 bwelling Exp $ */
|
/* $Id: masterdump.c,v 1.39 2001/01/04 22:19:16 mws Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -158,6 +158,19 @@ dns_master_style_explicitttl = {
|
|||||||
24, 32, 32, 40, 80, 8
|
24, 32, 32, 40, 80, 8
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* A master style that prints name, ttl, class, type, and value on every line.
|
||||||
|
* Similar to explicitttl above, but more verbose. Intended for generating
|
||||||
|
* master files which can be easily parsed by perl scripts and similar
|
||||||
|
* applications.
|
||||||
|
*/
|
||||||
|
const dns_master_style_t
|
||||||
|
dns_master_style_parsable = {
|
||||||
|
0,
|
||||||
|
24, 32, 32, 40, 80, 8
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A style suitable for dns_rdataset_totext().
|
* A style suitable for dns_rdataset_totext().
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user