mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-18 12:21:20 -04:00
Use new lexer/parser. ifdef'd out still.
This commit is contained in:
parent
99094c30d3
commit
709f92bb22
1 changed files with 7 additions and 5 deletions
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "parser.h"
|
||||
#include "confparser.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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue