Anope IRC Services  Version 2.0
dir.h
Go to the documentation of this file.
1  /* POSIX emulation layer for Windows.
2  *
3  * Copyright (C) 2008-2014 Anope Team <team@anope.org>
4  *
5  * Please read COPYING and README for further details.
6  */
7 
8 #include <windows.h>
9 
10 struct dirent
11 {
12  int d_ino;
13  char *d_name;
14 };
15 
16 struct DIR
17 {
19  HANDLE handle;
20  WIN32_FIND_DATA data;
21  bool read_first;
22 };
23 
24 DIR *opendir(const char *);
25 dirent *readdir(DIR *);
26 int closedir(DIR *);
DIR * opendir(const char *)
Definition: dir.cpp:11
HANDLE handle
Definition: dir.h:19
Definition: dir.h:16
bool read_first
Definition: dir.h:21
Definition: dir.h:10
int closedir(DIR *)
Definition: dir.cpp:42
dirent ent
Definition: dir.h:18
char * d_name
Definition: dir.h:13
dirent * readdir(DIR *)
Definition: dir.cpp:29
int d_ino
Definition: dir.h:12
WIN32_FIND_DATA data
Definition: dir.h:20