anope- supernets anope source code & configuration |
git clone git://git.acid.vegas/anope.git |
Log | Files | Refs | Archive | README |
dir.h (393B)
1 /* POSIX emulation layer for Windows. 2 * 3 * (C) 2008-2022 Anope Team 4 * Contact us at team@anope.org 5 * 6 * Please read COPYING and README for further details. 7 */ 8 9 #include <windows.h> 10 11 struct dirent 12 { 13 int d_ino; 14 char *d_name; 15 }; 16 17 struct DIR 18 { 19 dirent ent; 20 HANDLE handle; 21 WIN32_FIND_DATA data; 22 bool read_first; 23 }; 24 25 DIR *opendir(const char *); 26 dirent *readdir(DIR *); 27 int closedir(DIR *);