Lines Matching defs:ExternalInfo
87 EXTERNAL_FIND_INFO *ExternalInfo;
93 ExternalInfo = calloc (1, sizeof (EXTERNAL_FIND_INFO));
94 if (!ExternalInfo)
105 free (ExternalInfo);
111 ExternalInfo->WildcardSpec = WildcardSpec;
112 ExternalInfo->RequestedFileType = RequestedFileType;
113 ExternalInfo->DirPathname = DirPathname;
114 ExternalInfo->DirPtr = dir;
115 return (ExternalInfo);
136 EXTERNAL_FIND_INFO *ExternalInfo = DirHandle;
144 while ((dir_entry = readdir (ExternalInfo->DirPtr)))
146 if (!fnmatch (ExternalInfo->WildcardSpec, dir_entry->d_name, 0))
154 strlen (ExternalInfo->DirPathname) + 2;
164 strcpy (temp_str, ExternalInfo->DirPathname);
181 && (ExternalInfo->RequestedFileType == REQUEST_DIR_ONLY))
184 && ExternalInfo->RequestedFileType == REQUEST_FILE_ONLY)))
188 strcpy (ExternalInfo->temp_buffer, dir_entry->d_name);
189 return (ExternalInfo->temp_buffer);
214 EXTERNAL_FIND_INFO *ExternalInfo = DirHandle;
219 closedir (ExternalInfo->DirPtr);