Lines Matching refs:dir
22 * the functions declared in isc/commandline.h and isc/dir.h could not
26 * The dir stuff was shrunk to fit the needs of gen.c.
49 DIR *handle;
56 start_directory(const char *path, isc_dir_t *dir) {
57 dir->handle = opendir(path);
59 if (dir->handle != NULL) {
67 next_file(isc_dir_t *dir) {
70 dir->filename = NULL;
72 if (dir->handle != NULL) {
74 dirent = readdir(dir->handle);
76 dir->filename = dirent->d_name;
84 if (dir->filename != NULL) {
92 end_directory(isc_dir_t *dir) {
93 if (dir->handle != NULL) {
94 (void)closedir(dir->handle);
97 dir->handle = NULL;