summaryrefslogtreecommitdiff
path: root/apps/wince/sword/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wince/sword/include/dirent.h')
-rw-r--r--apps/wince/sword/include/dirent.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/wince/sword/include/dirent.h b/apps/wince/sword/include/dirent.h
new file mode 100644
index 0000000..dde8597
--- /dev/null
+++ b/apps/wince/sword/include/dirent.h
@@ -0,0 +1,18 @@
+#include <windows.h>
+#include <string.h>
+
+struct dirent {
+ char d_name[MAX_PATH];
+};
+
+typedef struct {
+ WIN32_FIND_DATA wfd;
+ HANDLE hFind;
+ struct dirent de;
+} DIR;
+
+
+extern DIR* opendir( const char *pSpec);
+extern void closedir(DIR * pDir);
+extern struct dirent * readdir(DIR *pDir);
+extern void rewinddir( DIR* dir ); \ No newline at end of file