Add dns_master_style_cache
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: masterdump.h,v 1.17 2001/01/09 21:53:02 bwelling Exp $ */
|
||||
/* $Id: masterdump.h,v 1.18 2001/01/12 19:58:51 bwelling Exp $ */
|
||||
|
||||
#ifndef DNS_MASTERDUMP_H
|
||||
#define DNS_MASTERDUMP_H 1
|
||||
@@ -65,6 +65,12 @@ extern const dns_master_style_t dns_master_style_default;
|
||||
*/
|
||||
extern const dns_master_style_t dns_master_style_explicitttl;
|
||||
|
||||
/*
|
||||
* A master style format designed for cache files. It prints explicit TTL
|
||||
* values on each record line and never uses $ORIGIN or relative names.
|
||||
*/
|
||||
extern const dns_master_style_t dns_master_style_cache;
|
||||
|
||||
/*
|
||||
* A master style that prints name, ttl, class, type, and value on
|
||||
* every line. Similar to explicitttl above, but more verbose.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: masterdump.c,v 1.42 2001/01/09 21:51:03 bwelling Exp $ */
|
||||
/* $Id: masterdump.c,v 1.43 2001/01/12 19:58:50 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -147,6 +147,14 @@ dns_master_style_explicitttl = {
|
||||
24, 32, 32, 40, 80, 8
|
||||
};
|
||||
|
||||
const dns_master_style_t
|
||||
dns_master_style_cache = {
|
||||
DNS_STYLEFLAG_OMIT_OWNER |
|
||||
DNS_STYLEFLAG_OMIT_CLASS |
|
||||
DNS_STYLEFLAG_MULTILINE,
|
||||
24, 32, 32, 40, 80, 8
|
||||
};
|
||||
|
||||
const dns_master_style_t
|
||||
dns_master_style_simple = {
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user