1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 12:23:13 +02:00
Files
anope/src/win32/dir/dir.h
T
Robby e03ae0cd85 Update copyright to 2018.
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00

28 lines
393 B
C

/* POSIX emulation layer for Windows.
*
* (C) 2008-2018 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*/
#include <windows.h>
struct dirent
{
int d_ino;
char *d_name;
};
struct DIR
{
dirent ent;
HANDLE handle;
WIN32_FIND_DATA data;
bool read_first;
};
DIR *opendir(const char *);
dirent *readdir(DIR *);
int closedir(DIR *);