playlist.h File Reference
#include <pmplib/pmp.h>
Go to the source code of this file.
Define Documentation
#define PLAYLISTAPI |
Definition at line 30 of file playlist.h.
Typedef Documentation
typedef void(*) playlist_callback_t(void *instance, int level, ucs2char_t *message) |
Definition at line 68 of file playlist.h.
typedef struct tag_playlist_entry playlist_entry_t |
Definition at line 75 of file playlist.h.
typedef struct tag_playlist playlist_t |
Definition at line 82 of file playlist.h.
typedef struct tag_playlists playlists_t |
Definition at line 88 of file playlist.h.
Enumeration Type Documentation
anonymous enum |
anonymous enum |
- Enumerator:
-
PLCALLBACK_NONE PLCALLBACK_JSPL_MESSAGE PLCALLBACK_JSPL_ERROR PLCALLBACK_JSPL_ERROR_POS PLCALLBACK_JSPL_ERROR_LINE
Definition at line 44 of file playlist.h.
anonymous enum |
- Enumerator:
Definition at line 52 of file playlist.h.
Function Documentation
PLAYLISTAPI int playlist_add_playlist | ( | playlists_t * | pls, | |
const ucs2char_t * | name | |||
) |
PLAYLISTAPI int playlist_append | ( | playlist_t * | pl, | |
const ucs2char_t * | filename, | |||
int | userdata | |||
) |
PLAYLISTAPI int playlist_find_playlist | ( | playlists_t * | pls, | |
const ucs2char_t * | name | |||
) |
PLAYLISTAPI void playlist_finish | ( | playlists_t * | pls | ) |
PLAYLISTAPI void playlist_init | ( | playlists_t * | pls | ) |
PLAYLISTAPI int playlist_is_supported | ( | const ucs2char_t * | filename, | |
int | flag | |||
) |
PLAYLISTAPI int playlist_normalize | ( | playlist_t * | pl, | |
const ucs2char_t * | path_to_playlist, | |||
const ucs2char_t * | path_to_root, | |||
playlist_mediafile_t * | mediafiles, | |||
int | num_mediafiles | |||
) |
PLAYLISTAPI void playlist_normalize_prepare | ( | playlist_mediafile_t * | mediafiles, | |
int | num_mediafiles | |||
) |
PLAYLISTAPI int playlist_read | ( | playlists_t * | pls, | |
const ucs2char_t * | filename, | |||
const ucs2char_t * | path_to_include, | |||
pmp_music_record_t * | records, | |||
int | num_records, | |||
playlist_callback_t | callback, | |||
void * | instance | |||
) |
PLAYLISTAPI void playlist_shuffle | ( | playlist_t * | pl | ) |