Document playlist.c
This commit is contained in:
parent
9cd821efb6
commit
88cc144ce0
10
playlist.c
10
playlist.c
|
@ -84,6 +84,15 @@ static void content_playlist_free_entry(
|
||||||
memset(entry, 0, sizeof(*entry));
|
memset(entry, 0, sizeof(*entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* content_playlist_push:
|
||||||
|
* @playlist : Playlist handle.
|
||||||
|
* @path : Path of new playlist entry.
|
||||||
|
* @core_path : Core path of new playlist entry.
|
||||||
|
* @core_name : Core name of new playlist entry.
|
||||||
|
*
|
||||||
|
* Push entry to top of playlist.
|
||||||
|
**/
|
||||||
void content_playlist_push(content_playlist_t *playlist,
|
void content_playlist_push(content_playlist_t *playlist,
|
||||||
const char *path, const char *core_path,
|
const char *path, const char *core_path,
|
||||||
const char *core_name)
|
const char *core_name)
|
||||||
|
@ -170,6 +179,7 @@ static void content_playlist_write_file(content_playlist_t *playlist)
|
||||||
void content_playlist_free(content_playlist_t *playlist)
|
void content_playlist_free(content_playlist_t *playlist)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
if (!playlist)
|
if (!playlist)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,15 @@ void content_playlist_get_index(content_playlist_t *playlist,
|
||||||
const char **path, const char **core_path,
|
const char **path, const char **core_path,
|
||||||
const char **core_name);
|
const char **core_name);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* content_playlist_push:
|
||||||
|
* @playlist : Playlist handle.
|
||||||
|
* @path : Path of new playlist entry.
|
||||||
|
* @core_path : Core path of new playlist entry.
|
||||||
|
* @core_name : Core name of new playlist entry.
|
||||||
|
*
|
||||||
|
* Push entry to top of playlist.
|
||||||
|
**/
|
||||||
void content_playlist_push(content_playlist_t *playlist,
|
void content_playlist_push(content_playlist_t *playlist,
|
||||||
const char *path, const char *core_path,
|
const char *path, const char *core_path,
|
||||||
const char *core_name);
|
const char *core_name);
|
||||||
|
|
Loading…
Reference in New Issue