Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

song.h File Reference


Detailed Description

MPD client library.

Do not include this header directly. Use mpd/client.h instead.

Definition in file song.h.

#include <mpd/tag.h>
#include <mpd/compiler.h>
#include <stdbool.h>
#include <time.h>

Go to the source code of this file.

Functions

mpd_malloc struct mpd_songmpd_recv_song (struct mpd_connection *connection)
mpd_malloc struct mpd_songmpd_song_begin (const struct mpd_pair *pair)
mpd_malloc struct mpd_songmpd_song_dup (const struct mpd_song *song)
bool mpd_song_feed (struct mpd_song *song, const struct mpd_pair *pair)
void mpd_song_free (struct mpd_song *song)
mpd_pure unsigned mpd_song_get_duration (const struct mpd_song *song)
mpd_pure unsigned mpd_song_get_id (const struct mpd_song *song)
mpd_pure time_t mpd_song_get_last_modified (const struct mpd_song *song)
mpd_pure unsigned mpd_song_get_pos (const struct mpd_song *song)
mpd_pure const char * mpd_song_get_tag (const struct mpd_song *song, enum mpd_tag_type type, unsigned idx)
mpd_pure const char * mpd_song_get_uri (const struct mpd_song *song)
void mpd_song_set_pos (struct mpd_song *song, unsigned pos)


Generated by  Doxygen 1.6.0   Back to index