Go to the source code of this file.
Defines | |
#define | DT_UNKNOWN 0 |
#define | DT_FIFO 1 |
#define | DT_CHR 2 |
#define | DT_DIR 4 |
#define | DT_BLK 6 |
#define | DT_REG 8 |
#define | DT_LNK 10 |
#define | DT_SOCK 12 |
#define | DT_WHT 14 |
#define | ISAVMAGIC(_dir) (!memcmp((_dir), &avmagicdir, sizeof(avmagicdir))) |
#define | ISDAVMAGIC(_dir) (!memcmp((_dir), &davmagicdir, sizeof(davmagicdir))) |
Typedefs | |
typedef __dirstream * | AVDIR |
typedef __dirstream * | DAVDIR |
Functions | |
int | avClosedir (DIR *dir) |
Close an argv directory. | |
dirent * | avReaddir (DIR *dir) |
Return next entry from an argv directory. | |
DIR * | avOpendir (const char *path) |
Create an argv directory from URL collection. | |
Variables | |
int | avmagicdir |
int | davmagicdir |
Definition in file rpmdav.h.
#define DT_BLK 6 |
#define DT_CHR 2 |
#define DT_DIR 4 |
#define DT_FIFO 1 |
#define DT_LNK 10 |
#define DT_REG 8 |
#define DT_SOCK 12 |
#define DT_UNKNOWN 0 |
#define DT_WHT 14 |
#define ISAVMAGIC | ( | _dir | ) | (!memcmp((_dir), &avmagicdir, sizeof(avmagicdir))) |
#define ISDAVMAGIC | ( | _dir | ) | (!memcmp((_dir), &davmagicdir, sizeof(davmagicdir))) |
int avClosedir | ( | DIR * | dir | ) |
Close an argv directory.
dir | argv DIR |
Definition at line 50 of file rpmdav.c.
References _av_debug, and _free().
Referenced by Closedir().
DIR* avOpendir | ( | const char * | path | ) |
struct dirent* avReaddir | ( | DIR * | dir | ) |
int avmagicdir |
int davmagicdir |