struct mpd_entity * mpd_entity_begin(const struct mpd_pair *pair)
enum mpd_entity_type mpd_entity_get_type(const struct mpd_entity *entity)
@ MPD_ENTITY_TYPE_UNKNOWN
@ MPD_ENTITY_TYPE_DIRECTORY
@ MPD_ENTITY_TYPE_PLAYLIST
const struct mpd_directory * mpd_entity_get_directory(const struct mpd_entity *entity)
void mpd_entity_free(struct mpd_entity *entity)
bool mpd_entity_feed(struct mpd_entity *entity, const struct mpd_pair *pair)
const struct mpd_playlist * mpd_entity_get_playlist(const struct mpd_entity *entity)
struct mpd_entity * mpd_recv_entity(struct mpd_connection *connection)
const struct mpd_song * mpd_entity_get_song(const struct mpd_entity *entity)