RetroArch
Typedefs
retro_dirent.h File Reference
#include <retro_common_api.h>
#include <retro_miscellaneous.h>
#include <boolean.h>
Include dependency graph for retro_dirent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef typedefRETRO_BEGIN_DECLS struct RDIR RDIR
 

Functions

: path to the directory to open.

retro_opendir:

Opens a directory for reading. Tidy up with retro_closedir.

Returns: RDIR pointer on success, NULL if name is not a valid directory, null itself or the empty string.

struct RDIRretro_opendir (const char *name)
 
int retro_readdir (struct RDIR *rdir)
 
bool retro_dirent_error (struct RDIR *rdir)
 
void retro_dirent_include_hidden (struct RDIR *rdir, bool include_hidden)
 
const char * retro_dirent_get_name (struct RDIR *rdir)
 
bool retro_dirent_is_dir (struct RDIR *rdir, const char *path)
 
void retro_closedir (struct RDIR *rdir)
 

Typedef Documentation

◆ RDIR

typedef typedefRETRO_BEGIN_DECLS struct RDIR RDIR

Function Documentation

◆ retro_closedir()

void retro_closedir ( struct RDIR rdir)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_dirent_error()

bool retro_dirent_error ( struct RDIR rdir)
Here is the caller graph for this function:

◆ retro_dirent_get_name()

const char* retro_dirent_get_name ( struct RDIR rdir)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_dirent_include_hidden()

void retro_dirent_include_hidden ( struct RDIR rdir,
bool  include_hidden 
)
Here is the caller graph for this function:

◆ retro_dirent_is_dir()

bool retro_dirent_is_dir ( struct RDIR rdir,
const char *  path 
)

retro_dirent_is_dir: : pointer to the directory entry.

Is the directory listing entry a directory?

Returns: true if directory listing entry is a directory, false if not.

retro_dirent_is_dir: : pointer to the directory entry. : path to the directory entry.

Is the directory listing entry a directory?

Returns: true if directory listing entry is a directory, false if not.

Here is the caller graph for this function:

◆ retro_opendir()

struct RDIR* retro_opendir ( const char *  name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_readdir()

int retro_readdir ( struct RDIR rdir)
Here is the caller graph for this function: