summaryrefslogtreecommitdiff
path: root/apps/wince/sword/include/dirent.h
blob: dde85971426a46f972040c5591e9ac42c7c19c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 );