#include <direct.h>
#include <io.h>
#include <errno.h>
#include <stdlib.h>
#include <windows.h>
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | dirent |
struct | DIR |
Defines | |
#define | NAME_MAX (260) |
#define | FILE_ATTRIBUTE_ERROR (0xFFFFFFFF) |
#define | S_IFMT (S_IFDIR|S_IFREG) |
#define | S_ISREG(x) (((x) & S_IFMT) == S_IFREG) |
#define | S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) |
#define | mkdir(a, b) (_mkdir(a)) |
Functions | |
static HANDLE | dirent__findfile_directory (char const *name, LPWIN32_FIND_DATAA data) |
DIR * | opendir (char const *name) |
int | closedir (DIR *dir) |
struct dirent * | readdir (DIR *dir) |
Definition in file filesystem_win32.ii.
#define FILE_ATTRIBUTE_ERROR (0xFFFFFFFF) |
Definition at line 237 of file filesystem_win32.ii.
Referenced by get_dir(), get_user_data_dir(), and make_directory().
#define NAME_MAX (260) |
Definition at line 58 of file filesystem_win32.ii.
#define S_IFMT (S_IFDIR|S_IFREG) |
Definition at line 226 of file filesystem_win32.ii.
#define S_ISDIR | ( | x | ) | (((x) & S_IFMT) == S_IFDIR) |
Definition at line 232 of file filesystem_win32.ii.
Referenced by get_files_in_dir(), and is_directory_internal().
#define S_ISREG | ( | x | ) | (((x) & S_IFMT) == S_IFREG) |
int closedir | ( | DIR * | dir | ) |
Definition at line 154 of file filesystem_win32.ii.
References DIR::hFind.
Referenced by get_dir(), get_files_in_dir(), and get_user_data_dir().
static HANDLE dirent__findfile_directory | ( | char const * | name, | |
LPWIN32_FIND_DATAA | data | |||
) | [static] |
DIR* opendir | ( | char const * | name | ) |
Definition at line 106 of file filesystem_win32.ii.
References dirent::d_mode, dirent::d_name, DIR::directory, DIR::dirent, dirent__findfile_directory(), DIR::find_data, and DIR::hFind.
Referenced by get_dir(), get_files_in_dir(), and get_user_data_dir().
Definition at line 180 of file filesystem_win32.ii.
References dirent::d_name, DIR::dirent, FILE_ATTRIBUTE_ERROR, DIR::find_data, and DIR::hFind.
Referenced by get_files_in_dir().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |