#include <gwenhywfar/directory.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/path.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/text.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
Go to the source code of this file.
Defines | |
#define | DIRSEP "/" |
Functions | |
int | GWEN_Directory_FindFileInPaths (const GWEN_STRINGLIST *paths, const char *filePath, GWEN_BUFFER *fbuf) |
int | GWEN_Directory_FindPathForFile (const GWEN_STRINGLIST *paths, const char *filePath, GWEN_BUFFER *fbuf) |
int | GWEN_Directory_GetAllEntries (char *folder, GWEN_STRINGLIST *sl, const char *mask) |
int | GWEN_Directory_GetDirEntries (char *folder, GWEN_STRINGLIST *sl, const char *mask) |
int | GWEN_Directory_GetFileEntries (char *folder, GWEN_STRINGLIST *sl, const char *mask) |
int | GWEN_Directory_GetFileEntriesWithType (char *folder, GWEN_STRINGLIST *sl, const char *mask) |
int | GWEN_Directory_GetPath (const char *path, unsigned int flags) |
int | GWEN_Directory_GetTmpDirectory (char *buffer, unsigned int size) |
void * | GWEN_Directory_HandlePathElement (const char *entry, void *data, unsigned int flags) |
int | GWEN_Directory_OsifyPath (const char *path, GWEN_BUFFER *pbuf, int transformDriveElement) |
#define DIRSEP "/" |
Definition at line 59 of file directory_all.c.
void* GWEN_Directory_HandlePathElement | ( | const char * | entry, | |
void * | data, | |||
unsigned int | flags | |||
) |
Definition at line 64 of file directory_all.c.
References DBG_DEBUG, DBG_ERROR, DBG_INFO, GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_DIR_FLAGS_PUBLIC_NAME, GWEN_DIR_FLAGS_PUBLIC_PATH, GWEN_Directory_Create(), GWEN_Directory_CreatePublic(), GWEN_LOGDOMAIN, GWEN_PATH_FLAGS_LAST, GWEN_PATH_FLAGS_NAMEMUSTEXIST, GWEN_PATH_FLAGS_NAMEMUSTNOTEXIST, GWEN_PATH_FLAGS_PATHMUSTEXIST, GWEN_PATH_FLAGS_PATHMUSTNOTEXIST, and GWEN_PATH_FLAGS_VARIABLE.
Referenced by GWEN_Directory_GetPath().