FreeRDP
|
#include <windows.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
Data Structures | |
struct | dirent |
struct | DIR |
Defines | |
#define | WIN32_LEAN_AND_MEAN |
#define | FILE_ATTRIBUTE_DEVICE 0x40 |
#define | S_IFBLK 0 /* block device */ |
#define | S_IFLNK 0 /* link */ |
#define | S_IFSOCK 0 /* socket */ |
#define | _DIRENT_HAVE_D_TYPE |
#define | DT_UNKNOWN 0 |
#define | DT_REG S_IFREG |
#define | DT_DIR S_IFDIR |
#define | DT_FIFO S_IFFIFO |
#define | DT_SOCK S_IFSOCK |
#define | DT_CHR S_IFCHR |
#define | DT_BLK S_IFBLK |
#define | IFTODT(mode) ((mode) & S_IFMT) |
#define | DTTOIF(type) (type) |
#define | S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFFIFO) |
#define | S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) |
#define | S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) |
#define | S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) |
#define | S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) |
#define | S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) |
#define | S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) |
#define | DIRENT_STRNCPY(dest, src, size) strncpy((dest),(src),(size)) |
#define | DIRENT_SET_ERRNO(x) (errno = (x)) |
Functions | |
static DIR * | opendir (const char *dirname) |
static struct dirent * | readdir (DIR *dirp) |
static int | closedir (DIR *dirp) |
static void | rewinddir (DIR *dirp) |
#define _DIRENT_HAVE_D_TYPE |
#define DIRENT_SET_ERRNO | ( | x | ) | (errno = (x)) |
#define DIRENT_STRNCPY | ( | dest, | |
src, | |||
size | |||
) | strncpy((dest),(src),(size)) |
#define DT_CHR S_IFCHR |
#define DT_DIR S_IFDIR |
#define DT_FIFO S_IFFIFO |
#define DT_REG S_IFREG |
#define DT_UNKNOWN 0 |
#define DTTOIF | ( | type | ) | (type) |
#define FILE_ATTRIBUTE_DEVICE 0x40 |
#define IFTODT | ( | mode | ) | ((mode) & S_IFMT) |
#define S_IFBLK 0 /* block device */ |
#define S_IFLNK 0 /* link */ |
#define S_IFSOCK 0 /* socket */ |
#define S_ISCHR | ( | mode | ) | (((mode) & S_IFMT) == S_IFCHR) |
#define S_ISDIR | ( | mode | ) | (((mode) & S_IFMT) == S_IFDIR) |
#define S_ISFIFO | ( | mode | ) | (((mode) & S_IFMT) == S_IFFIFO) |
#define S_ISREG | ( | mode | ) | (((mode) & S_IFMT) == S_IFREG) |
#define WIN32_LEAN_AND_MEAN |