RetroArch
Typedefs | Functions
playlist.h File Reference
#include <stddef.h>
#include <retro_common_api.h>
#include <boolean.h>
Include dependency graph for playlist.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 content_playlist playlist_t
 

Functions

playlist_tplaylist_init (const char *path, size_t size)
 
void playlist_free (playlist_t *playlist)
 
void playlist_clear (playlist_t *playlist)
 
size_t playlist_size (playlist_t *playlist)
 
void playlist_get_index (playlist_t *playlist, size_t idx, const char **path, const char **label, const char **core_path, const char **core_name, const char **db_name, const char **crc32)
 
void playlist_delete_index (playlist_t *playlist, size_t idx)
 
bool playlist_push (playlist_t *playlist, const char *path, const char *label, const char *core_path, const char *core_name, const char *crc32, const char *db_name)
 
void playlist_update (playlist_t *playlist, size_t idx, const char *path, const char *label, const char *core_path, const char *core_name, const char *crc32, const char *db_name)
 
void playlist_get_index_by_path (playlist_t *playlist, const char *search_path, char **path, char **label, char **core_path, char **core_name, char **db_name, char **crc32)
 
bool playlist_entry_exists (playlist_t *playlist, const char *path, const char *crc32)
 
char * playlist_get_conf_path (playlist_t *playlist)
 
uint32_t playlist_get_size (playlist_t *playlist)
 
void playlist_write_file (playlist_t *playlist)
 
void playlist_qsort (playlist_t *playlist)
 
void playlist_free_cached (void)
 
playlist_tplaylist_get_cached (void)
 
bool playlist_init_cached (const char *path, size_t size)
 

Typedef Documentation

◆ playlist_t

typedef typedefRETRO_BEGIN_DECLS struct content_playlist playlist_t

Function Documentation

◆ playlist_clear()

void playlist_clear ( playlist_t playlist)

playlist_clear: : Playlist handle.

Clears all playlist entries in playlist.

Here is the call graph for this function:

◆ playlist_delete_index()

void playlist_delete_index ( playlist_t playlist,
size_t  idx 
)

playlist_delete_index: : Playlist handle. : Index of playlist entry.

Deletes the entry at index:

playlist_delete_index: : Playlist handle. : Index of playlist entry.

Delete the entry at the index:

Here is the caller graph for this function:

◆ playlist_entry_exists()

bool playlist_entry_exists ( playlist_t playlist,
const char *  path,
const char *  crc32 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_free()

void playlist_free ( playlist_t playlist)

playlist_free: : Playlist handle.

Frees playlist handle.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_free_cached()

void playlist_free_cached ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_get_cached()

playlist_t* playlist_get_cached ( void  )
Here is the caller graph for this function:

◆ playlist_get_conf_path()

char* playlist_get_conf_path ( playlist_t playlist)
Here is the caller graph for this function:

◆ playlist_get_index()

void playlist_get_index ( playlist_t playlist,
size_t  idx,
const char **  path,
const char **  label,
const char **  core_path,
const char **  core_name,
const char **  crc32,
const char **  db_name 
)

playlist_get_index: : Playlist handle. : Index of playlist entry. : Path of playlist entry. : Core path of playlist entry. : Core name of playlist entry.

Gets values of playlist index:

Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_get_index_by_path()

void playlist_get_index_by_path ( playlist_t playlist,
const char *  search_path,
char **  path,
char **  label,
char **  core_path,
char **  core_name,
char **  db_name,
char **  crc32 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_get_size()

uint32_t playlist_get_size ( playlist_t playlist)
Here is the caller graph for this function:

◆ playlist_init()

playlist_t* playlist_init ( const char *  path,
size_t  size 
)

playlist_init: : Path to playlist contents file. : Maximum capacity of playlist size.

Creates and initializes a playlist.

Returns: handle to new playlist if successful, otherwise NULL

Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_init_cached()

bool playlist_init_cached ( const char *  path,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_push()

bool playlist_push ( playlist_t playlist,
const char *  path,
const char *  label,
const char *  core_path,
const char *  core_name,
const char *  crc32,
const char *  db_name 
)

playlist_push: : Playlist handle. : Path of new playlist entry. : Core path of new playlist entry. : Core name of new playlist entry.

Push entry to top of playlist.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_qsort()

void playlist_qsort ( playlist_t playlist)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_size()

size_t playlist_size ( playlist_t playlist)

playlist_size: : Playlist handle.

Gets size of playlist. Returns: size of playlist.

Here is the caller graph for this function:

◆ playlist_update()

void playlist_update ( playlist_t playlist,
size_t  idx,
const char *  path,
const char *  label,
const char *  core_path,
const char *  core_name,
const char *  crc32,
const char *  db_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ playlist_write_file()

void playlist_write_file ( playlist_t playlist)
Here is the call graph for this function:
Here is the caller graph for this function: