ncmpc
0.29
|
Go to the source code of this file.
Data Structures | |
struct | mpdclient_playlist |
Functions | |
void | playlist_init (struct mpdclient_playlist *playlist) |
void | playlist_clear (struct mpdclient_playlist *playlist) |
gint | mpdclient_playlist_free (struct mpdclient_playlist *playlist) |
void | playlist_move (struct mpdclient_playlist *playlist, unsigned dest, unsigned src) |
const struct mpd_song * | playlist_lookup_song (const struct mpdclient_playlist *playlist, unsigned id) |
const struct mpd_song * | playlist_get_song (const struct mpdclient_playlist *playlist, gint index) |
gint | playlist_get_index (const struct mpdclient_playlist *playlist, const struct mpd_song *song) |
gint | playlist_get_index_from_id (const struct mpdclient_playlist *playlist, unsigned id) |
gint | playlist_get_index_from_file (const struct mpdclient_playlist *playlist, const gchar *filename) |
gcc_pure gint | playlist_get_id_from_uri (const struct mpdclient_playlist *playlist, const gchar *uri) |
void playlist_init | ( | struct mpdclient_playlist * | playlist | ) |
void playlist_clear | ( | struct mpdclient_playlist * | playlist | ) |
remove and free all songs in the playlist
gint mpdclient_playlist_free | ( | struct mpdclient_playlist * | playlist | ) |
void playlist_move | ( | struct mpdclient_playlist * | playlist, |
unsigned | dest, | ||
unsigned | src | ||
) |
const struct mpd_song* playlist_lookup_song | ( | const struct mpdclient_playlist * | playlist, |
unsigned | id | ||
) |
const struct mpd_song* playlist_get_song | ( | const struct mpdclient_playlist * | playlist, |
gint | index | ||
) |
gint playlist_get_index | ( | const struct mpdclient_playlist * | playlist, |
const struct mpd_song * | song | ||
) |
gint playlist_get_index_from_id | ( | const struct mpdclient_playlist * | playlist, |
unsigned | id | ||
) |
gint playlist_get_index_from_file | ( | const struct mpdclient_playlist * | playlist, |
const gchar * | filename | ||
) |
gcc_pure gint playlist_get_id_from_uri | ( | const struct mpdclient_playlist * | playlist, |
const gchar * | uri | ||
) |