Win32 platform-specific filesystem code. More...
#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) |
Win32 platform-specific filesystem code.
Definition in file filesystem_win32.ii.
| #define FILE_ATTRIBUTE_ERROR (0xFFFFFFFF) |
Definition at line 78 of file filesystem_win32.ii.
Referenced by readdir().
| #define mkdir | ( | a, | ||
| b | ||||
| ) | (_mkdir(a)) |
Definition at line 239 of file filesystem_win32.ii.
Referenced by get_dir(), and make_directory().
| #define NAME_MAX (260) |
Definition at line 60 of file filesystem_win32.ii.
| #define S_IFMT (S_IFDIR|S_IFREG) |
Definition at line 228 of file filesystem_win32.ii.
| #define S_ISDIR | ( | x | ) | (((x) & S_IFMT) == S_IFDIR) |
Definition at line 234 of file filesystem_win32.ii.
Referenced by get_files_in_dir(), and is_directory_internal().
| #define S_ISREG | ( | x | ) | (((x) & S_IFMT) == S_IFREG) |
Definition at line 231 of file filesystem_win32.ii.
Referenced by get_files_in_dir().
| int closedir | ( | DIR * | dir | ) |
Definition at line 156 of file filesystem_win32.ii.
References DIR::hFind.
Referenced by get_dir(), get_files_in_dir(), and setup_user_data_dir().

| static HANDLE dirent__findfile_directory | ( | char const * | name, | |
| LPWIN32_FIND_DATAA | data | |||
| ) | [static] |
Definition at line 85 of file filesystem_win32.ii.
Referenced by opendir().

| DIR* opendir | ( | char const * | name | ) |
Definition at line 108 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 setup_user_data_dir().


Definition at line 182 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.7.1 on Thu May 24 2012 01:04:14 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |