Lines Matching defs:dir
26 * the functions declared in isc/commandline.h and isc/dir.h could not
30 * The dir stuff was shrunk to fit the needs of gen.c.
59 start_directory(const char *path, isc_dir_t *dir) {
60 dir->handle = opendir(path);
62 if (dir->handle != NULL)
70 next_file(isc_dir_t *dir) {
73 dir->filename = NULL;
75 if (dir->handle != NULL) {
76 dirent = readdir(dir->handle);
78 dir->filename = dirent->d_name;
81 if (dir->filename != NULL)
88 end_directory(isc_dir_t *dir) {
89 if (dir->handle != NULL)
90 (void)closedir(dir->handle);
92 dir->handle = NULL;