Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
57b47bca
Commit
57b47bca
authored
May 29, 2010
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkpoint
parent
0eca1381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
lib/isccfg/namedconf.c
lib/isccfg/namedconf.c
+13
-3
No files found.
lib/isccfg/namedconf.c
View file @
57b47bca
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: namedconf.c,v 1.11
6
2010/05/2
1
1
4:1
0:32 marka Exp $ */
/* $Id: namedconf.c,v 1.11
7
2010/05/2
9
10:3
6:2
2 marka Exp $ */
/*! \file */
...
...
@@ -64,6 +64,8 @@ parse_optional_keyvalue(cfg_parser_t *pctx, const cfg_type_t *type,
static
isc_result_t
parse_updatepolicy
(
cfg_parser_t
*
pctx
,
const
cfg_type_t
*
type
,
cfg_obj_t
**
ret
);
static
void
print_updatepolicy
(
cfg_printer_t
*
pctx
,
const
cfg_obj_t
*
obj
);
static
void
doc_updatepolicy
(
cfg_printer_t
*
pctx
,
const
cfg_type_t
*
type
);
...
...
@@ -342,8 +344,8 @@ static cfg_type_t cfg_type_grant = {
};
static
cfg_type_t
cfg_type_updatepolicy
=
{
"update_policy"
,
parse_updatepolicy
,
NULL
,
doc
_updatepolicy
,
&
cfg_rep_list
,
&
cfg_type_grant
"update_policy"
,
parse_updatepolicy
,
print
_updatepolicy
,
doc_updatepolicy
,
&
cfg_rep_list
,
&
cfg_type_grant
};
static
isc_result_t
...
...
@@ -381,6 +383,14 @@ parse_updatepolicy(cfg_parser_t *pctx, const cfg_type_t *type,
return
(
result
);
}
static
void
print_updatepolicy
(
cfg_printer_t
*
pctx
,
const
cfg_obj_t
*
obj
)
{
if
(
cfg_obj_isstring
(
obj
))
cfg_print_ustring
(
pctx
,
obj
);
else
cfg_print_bracketed_list
(
pctx
,
obj
);
}
static
void
doc_updatepolicy
(
cfg_printer_t
*
pctx
,
const
cfg_type_t
*
type
)
{
cfg_print_cstr
(
pctx
,
"( local | { "
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment