gwenhywfar  5.10.1
Macros | Functions
directory_all.c File Reference
#include <gwenhywfar/directory.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/path.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/text.h>
#include <sys/types.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
Include dependency graph for directory_all.c:

Go to the source code of this file.

Macros

#define DIRSEP   "/"
 
#define DISABLE_DEBUGLOG
 

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_GetAbsoluteFolderPath (const char *folder, GWEN_BUFFER *tbuf)
 
int GWEN_Directory_GetAllEntries (const char *folder, GWEN_STRINGLIST *sl, const char *mask)
 
int GWEN_Directory_GetDirEntries (const char *folder, GWEN_STRINGLIST *sl, const char *mask)
 
int GWEN_Directory_GetFileEntries (const char *folder, GWEN_STRINGLIST *sl, const char *mask)
 
int GWEN_Directory_GetFileEntriesWithType (const char *folder, GWEN_STRINGLIST *sl, const char *mask)
 
int GWEN_Directory_GetMatchingFilesRecursively (const 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)
 
static void * GWEN_Directory_HandlePathElement (const char *entry, void *data, unsigned int flags)
 
int GWEN_Directory_OsifyPath (const char *path, GWEN_BUFFER *pbuf, GWEN_UNUSED int transformDriveElement)
 

Macro Definition Documentation

◆ DIRSEP

#define DIRSEP   "/"

◆ DISABLE_DEBUGLOG

#define DISABLE_DEBUGLOG

Definition at line 59 of file directory_all.c.

Function Documentation

◆ GWEN_Directory_HandlePathElement()

void * GWEN_Directory_HandlePathElement ( const char *  entry,
void *  data,
unsigned int  flags 
)
static

◆ GWEN_Directory_OsifyPath()

int GWEN_Directory_OsifyPath ( const char *  path,
GWEN_BUFFER pbuf,
GWEN_UNUSED int  transformDriveElement 
)

Definition at line 259 of file directory_all.c.

References GWEN_Buffer_AppendByte().

Here is the call graph for this function: