Point all submodules to github.com now git-cheetah is there as well.
[msysgit.git] / src / depends / directory.h
blob2d00f3044d98fa035ba3225cce80ed56c0785c73
1 #ifndef DIRECTORY_H
2 #define DIRECTORY_H
4 typedef struct _DIRECTORY_INFO {
5 HANDLE hFileList;
6 BOOL Initialized;
7 BOOL Finished;
8 BOOL RecurseSubDirs;
9 char BasePathName[MAX_PATH+1];
10 WIN32_FIND_DATA BasePath; // do not reference this
11 struct _SEARCH_RESULTS *pSearchResults; // use this!
12 } DIRECTORY_INFO, *PDIRECTORY_INFO;
14 typedef struct _SEARCH_RESULTS {
15 struct _SEARCH_RESULTS *Previous, *Next;
16 char *FilePath;
17 } SEARCH_RESULTS, *PSEARCH_RESULTS;
19 PDIRECTORY_INFO DirectoryOpen(char *Directory, BOOL RecurseSubDirs);
20 BOOL DirectorySearch(PDIRECTORY_INFO pDirectory, char *FileWildcard);
21 void DirectoryClose(PDIRECTORY_INFO pDirectory);
23 #endif // DIRECTORY_H