2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 06:55:30 +00:00

[master] expand the flags field in dns_master_style

4550.	[cleanup]	Increased the number of available master file
			output style flags from 32 to 64. [RT #44043]
This commit is contained in:
Evan Hunt
2017-01-10 10:40:47 -08:00
parent 86b7ae6b77
commit 2e703d7b61
6 changed files with 34 additions and 25 deletions

View File

@@ -22,6 +22,7 @@
#include <isc/string.h>
#include <isc/task.h>
#include <isc/time.h>
#include <isc/types.h>
#include <isc/util.h>
#include <dns/db.h>
@@ -57,7 +58,7 @@
} while (0)
struct dns_master_style {
unsigned int flags; /* DNS_STYLEFLAG_* */
dns_masterstyle_flags_t flags; /* DNS_STYLEFLAG_* */
unsigned int ttl_column;
unsigned int class_column;
unsigned int type_column;
@@ -2067,7 +2068,7 @@ dns_master_dumpnode(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *version,
return (result);
}
unsigned int
dns_masterstyle_flags_t
dns_master_styleflags(const dns_master_style_t *style) {
REQUIRE(style != NULL);
return (style->flags);