84 if ((freeUserData) && (tmp->
userData)) {
87 if (freename && tmp->
name != NULL) {
90 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 * userData
User data.
List of (DLL) files for a Directory.
struct FList * next
Next entry.
char * dispName
Name to display on screen.
void(* tfDirfreeUserData)(void *)
Function to call for releasing the user data associated with file entry.
The Gaming Framework API.
void GfDirFreeList(tFList *list, tfDirfreeUserData freeUserData, bool freename, bool freedispname)
Free a directory list.
tfDirGetListFiltered dirGetListFiltered
tFList * GfDirGetList(const char *dir)
Get the list of files of a given directory.