Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
709f92bb
Commit
709f92bb
authored
Feb 24, 1999
by
James Brister
Browse files
Use new lexer/parser. ifdef'd out still.
parent
99094c30
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/named/server.c
View file @
709f92bb
...
...
@@ -47,7 +47,7 @@
#include
<arpa/inet.h>
#include
"parser.h"
#include
"
conf
parser.h"
#include
"udpclient.h"
#include
"tcpclient.h"
...
...
@@ -169,7 +169,8 @@ main(int argc, char *argv[])
char
basetext
[
1000
];
dns_rdatatype_t
type
=
2
;
dns_result_t
result
;
#if 0
#if 0 /* brister */
isc_cfgctx_t *configctx = NULL;
const char *conffile = "/etc/named.conf"; /* XXX hardwired */
#endif
...
...
@@ -209,9 +210,10 @@ main(int argc, char *argv[])
RUNTIME_CHECK
(
isc_mem_create
(
0
,
0
,
&
mctx
)
==
ISC_R_SUCCESS
);
#if 0
isc_parser_init();
isc_parse_configuration(conffile, mctx, &configctx);
#if 0 /* brister */
parser_init();
RUNTIME_CHECK(parse_configuration(conffile, mctx, &configctx) ==
ISC_R_SUCCESS);
#endif
/*+ XXX */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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