RetroArch
playlist.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _PLAYLIST_H__
18 #define _PLAYLIST_H__
19 
20 #include <stddef.h>
21 
22 #include <retro_common_api.h>
23 #include <boolean.h>
24 
26 
28 
38 playlist_t *playlist_init(const char *path, size_t size);
39 
47 
55 
64 
76  size_t idx,
77  const char **path, const char **label,
78  const char **core_path, const char **core_name,
79  const char **db_name,
80  const char **crc32);
81 
90  size_t idx);
91 
102  const char *path, const char *label,
103  const char *core_path, const char *core_name,
104  const char *crc32,
105  const char *db_name);
106 
107 void playlist_update(playlist_t *playlist, size_t idx,
108  const char *path, const char *label,
109  const char *core_path, const char *core_name,
110  const char *crc32,
111  const char *db_name);
112 
114  const char *search_path,
115  char **path, char **label,
116  char **core_path, char **core_name,
117  char **db_name,
118  char **crc32);
119 
121  const char *path,
122  const char *crc32);
123 
125 
127 
129 
131 
132 void playlist_free_cached(void);
133 
135 
136 bool playlist_init_cached(const char *path, size_t size);
137 
139 
140 #endif
void playlist_free(playlist_t *playlist)
Definition: playlist.c:431
Definition: playlist.c:46
playlist_t * playlist_get_cached(void)
Definition: playlist.c:564
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
playlist_t * playlist_init(const char *path, size_t size)
Definition: playlist.c:590
GLsizei const GLchar ** path
Definition: glext.h:7901
GLsizeiptr size
Definition: glext.h:6559
typedefRETRO_BEGIN_DECLS struct content_playlist playlist_t
Definition: playlist.h:27
GLuint GLsizei const GLchar * label
Definition: glext.h:8583
void playlist_delete_index(playlist_t *playlist, size_t idx)
Definition: playlist.c:116
size_t playlist_size(playlist_t *playlist)
Definition: playlist.c:486
void playlist_clear(playlist_t *playlist)
Definition: playlist.c:463
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 idx
Definition: pixman-arm-neon-asm.h:96
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)
Definition: playlist.c:280
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void playlist_free_cached(void)
Definition: playlist.c:558
void playlist_write_file(playlist_t *playlist)
Definition: playlist.c:391
uint32_t playlist_get_size(playlist_t *playlist)
Definition: playlist.c:61
bool playlist_entry_exists(playlist_t *playlist, const char *path, const char *crc32)
Definition: playlist.c:161
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)
Definition: playlist.c:129
unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len)
Definition: libz-crc32.c:70
includes all by default used to find thumbnails Please choose a single playlist first Add Entry Add Folder Select Files< multiple > Please fill out all required fields RetroArch updated successfully Please restart the application for the changes to take effect Contributors Move Down Load Remove Add Pass No shader passes Reset All Passes Download thumbnail Start on playlist
Definition: msg_hash_el.h:7543
char * playlist_get_conf_path(playlist_t *playlist)
Definition: playlist.c:68
void playlist_qsort(playlist_t *playlist)
Definition: playlist.c:627
bool playlist_init_cached(const char *path, size_t size)
Definition: playlist.c:571
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)
Definition: playlist.c:85
unsigned int uint32_t
Definition: stdint.h:126
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)
Definition: playlist.c:208