FreeRDP
dirent.h File Reference
#include <windows.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
This graph shows which files directly or indirectly include this file:

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 DIRopendir (const char *dirname)
static struct direntreaddir (DIR *dirp)
static int closedir (DIR *dirp)
static void rewinddir (DIR *dirp)

Define Documentation

#define DIRENT_SET_ERRNO (   x)    (errno = (x))
#define DIRENT_STRNCPY (   dest,
  src,
  size 
)    strncpy((dest),(src),(size))
#define DT_BLK   S_IFBLK
#define DT_CHR   S_IFCHR
#define DT_DIR   S_IFDIR
#define DT_FIFO   S_IFFIFO
#define DT_REG   S_IFREG
#define DT_SOCK   S_IFSOCK
#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_ISBLK (   mode)    (((mode) & S_IFMT) == S_IFBLK)
#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_ISLNK (   mode)    (((mode) & S_IFMT) == S_IFLNK)
#define S_ISREG (   mode)    (((mode) & S_IFMT) == S_IFREG)
#define S_ISSOCK (   mode)    (((mode) & S_IFMT) == S_IFSOCK)

Function Documentation

static int closedir ( DIR dirp) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

static DIR * opendir ( const char *  dirname) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

static struct dirent * readdir ( DIR dirp) [static, read]

Here is the call graph for this function:

Here is the caller graph for this function:

static void rewinddir ( DIR dirp) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines