Lines Matching refs:parse_namedconf
189 ** parse_namedconf (const char *filename, chroot_dir, dir, dirsize, int (*func) ())
196 int parse_namedconf (const char *filename, const char *chroot_dir, char *dir, size_t dirsize, int (*func) ())
210 dbg_val ("parse_namedconf: parsing file \"%s\" \n", filename);
224 error ("parse_namedconf: token found with value %-10d: %c\n", tok, tok);
225 lg_mesg (LG_ERROR, "parse_namedconf: token found with value %-10d: %c", tok, tok);
231 dbg_val2 ("parse_namedconf: directory found \"%s\" (dir is %s)\n",
246 dbg_val ("parse_namedconf: new dir \"%s\" \n", dir);
257 if ( !parse_namedconf (path, chroot_dir, dir, dirsize, func) )
262 error ("parse_namedconf: need a filename after \"include\"!\n");
263 lg_mesg (LG_ERROR, "parse_namedconf: need a filename after \"include\"!");
321 parse_namedconf ("/var/named/named.conf", NULL, directory, sizeof (directory), printzone);
323 parse_namedconf (argv[1], NULL, directory, sizeof (directory), printzone);