45 if (
GfOs.dirGetList) {
46 return GfOs.dirGetList(dir);
61 if (
GfOs.dirGetListFiltered) {
62 return GfOs.dirGetListFiltered(dir, suffix);
83 if ((freeUserData) && (tmp->
userData)) {
86 if (freename && tmp->
name != NULL) {
89 if (freedispname && tmp->
dispName != NULL) {
tFList * GfDirGetListFiltered(const char *dir, const char *suffix)
Get the list of files with matching suffix of a given directory.
void GfDirFreeList(tFList *list, tfDirfreeUserData freeUserData, bool freename, bool freedispname)
Free a directory list.
tFList * GfDirGetList(const char *dir)
Get the list of files of a given directory.
struct FList * next
Next entry.
char * dispName
Name to display on screen.
void * userData
User data.
The Gaming Framework API.
void(* tfDirfreeUserData)(void *)
Function to call for releasing the user data associated with file entry.
struct FList tFList
List of (DLL) files for a Directory.