Lines Matching defs:dir

59 #include "dir.h"
288 * path have the "data dir" directory contained within it so
296 * 0. the base dir is "/base-dir/" and the data dir is
298 * domain.com. Path /base-dir/com/domain/.datadir since
299 * /base-dir/com/domain/.datadir does not exist, we are not
302 * path /base-dir/com/domain/long/.datadir does exist!
305 /* if client is passed append xfr dir, otherwise append data dir */
338 process_dir(dir_t *dir, void *passback, config_data_t *cd,
364 strcpy(tmp, dir->dirname);
366 /* dir->dirname will always have '*' as the last char. */
367 astPos = strlen(dir->dirname) - 1;
403 strcpy(tmp, dir->dirname);
410 while (dir_read(dir) == ISC_R_SUCCESS) {
412 dir->entry.name, 5) == 0) {
417 if (strcmp((char *) &dir->entry.name[6],
422 (char *) &dir->entry.name[6],
430 /* reset dir list for use later */
431 dir_reset(dir);
435 while (dir_read(dir) == ISC_R_SUCCESS) {
439 dir->dirname, dir->entry.name);
442 if (dir->entry.name[0] == '.')
455 strcat(tmp, dir->entry.name);
462 * if dir list is NOT NULL, add dir to
463 * dir list
491 type = dir->entry.name;
593 dir_t dir;
629 dir_init(&dir);
630 result = dir_open(&dir, basepath);
642 result = process_dir(&dir, allnodes, cd, dir_list, basepathlen);
645 dir_close(&dir);
650 /* get first dir entry from list. */
653 result = dir_open(&dir, dir_entry->dirpath);
664 result = process_dir(&dir, allnodes, cd, dir_list, basepathlen);
667 dir_close(&dir);
755 dir_t dir;
792 dir_init(&dir);
793 result = dir_open(&dir, path);
804 result = process_dir(&dir, lookup, cd, NULL, 0);
807 dir_close(&dir);
860 /* verify base dir ends with '/' or '\' */
864 "Base dir parameter for filesystem driver "
885 /* get and store our data sub-dir */
891 /* get and store our zone xfr sub-dir */