Lines Matching defs:dir
17 * the functions declared in isc/commandline.h and isc/dir.h could not
21 * The dir stuff was shrunk to fit the needs of gen.c.
50 start_directory(const char *path, isc_dir_t *dir) {
51 dir->handle = opendir(path);
53 if (dir->handle != NULL)
61 next_file(isc_dir_t *dir) {
64 dir->filename = NULL;
66 if (dir->handle != NULL) {
67 dirent = readdir(dir->handle);
69 dir->filename = dirent->d_name;
72 if (dir->filename != NULL)
79 end_directory(isc_dir_t *dir) {
80 if (dir->handle != NULL)
81 (void)closedir(dir->handle);
83 dir->handle = NULL;