summary refs log tree commit diff stats
path: root/src/common/dirent-win32.h
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-06-03 12:06:06 +0200
committerBerke Viktor <berkeviktor@aol.com>2012-06-03 12:06:06 +0200
commit39422d5503281030d712c39af25317b5e3ece0fe (patch)
treea7cece0454b70cf22b3d01e452ac77e5776e48b6 /src/common/dirent-win32.h
parent4f73128e9b71a786a57acac1aa0572e8ecefb915 (diff)
Initial Visual Studio solution
Diffstat (limited to 'src/common/dirent-win32.h')
-rw-r--r--src/common/dirent-win32.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/common/dirent-win32.h b/src/common/dirent-win32.h
deleted file mode 100644
index cbb753e6..00000000
--- a/src/common/dirent-win32.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef DIRENT_H
-#define DIRENT_H
-
-#include <windows.h>
-#include <string.h>
-#include <assert.h>
-
-typedef struct dirent
-{
-   char d_name[MAX_PATH + 1]; /* current dir entry (multi-byte char string) */
-   WIN32_FIND_DATAA data;     /* file attributes */
-}  dirent;
-
-typedef struct DIR
-{
-   dirent current;            /* Current directory entry */
-   int    cached;             /* Indicates un-processed entry in memory */
-   HANDLE search_handle;      /* File search handle */
-   char   patt[MAX_PATH + 3]; /* search pattern (3 = pattern + "\\*\0") */
-} DIR;
-
-/* Forward declarations */
-DIR *opendir (const char *dirname);
-struct dirent *readdir (DIR *dirp);
-int closedir (DIR *dirp);
-void rewinddir(DIR* dirp);
-
-#endif /*DIRENT_H*/