capabilities.h | capabilities.h | |||
---|---|---|---|---|
skipping to change at line 131 | skipping to change at line 131 | |||
bool | bool | |||
mpd_send_list_tag_types(struct mpd_connection *connection); | mpd_send_list_tag_types(struct mpd_connection *connection); | |||
/** | /** | |||
* Receives the next tag type name. Call this in a loop after | * Receives the next tag type name. Call this in a loop after | |||
* mpd_send_tagtypes(). | * mpd_send_tagtypes(). | |||
* | * | |||
* Free the return value with mpd_return_pair(). | * Free the return value with mpd_return_pair(). | |||
* | * | |||
* @param connection a #mpd_connection | * @param connection a #mpd_connection | |||
* @returns a "handler" pair, or NULL on error or if the end of the | * @returns a "tagtype" pair, or NULL on error or if the end of the | |||
* response is reached | * response is reached | |||
*/ | */ | |||
mpd_malloc | mpd_malloc | |||
static inline struct mpd_pair * | static inline struct mpd_pair * | |||
mpd_recv_tag_type_pair(struct mpd_connection *connection) | mpd_recv_tag_type_pair(struct mpd_connection *connection) | |||
{ | { | |||
return mpd_recv_pair_named(connection, "tagtype"); | return mpd_recv_pair_named(connection, "tagtype"); | |||
} | } | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
idle.h | idle.h | |||
---|---|---|---|---|
skipping to change at line 80 | skipping to change at line 80 | |||
MPD_IDLE_MIXER = 0x10, | MPD_IDLE_MIXER = 0x10, | |||
/** an audio output device has been enabled or disabled */ | /** an audio output device has been enabled or disabled */ | |||
MPD_IDLE_OUTPUT = 0x20, | MPD_IDLE_OUTPUT = 0x20, | |||
/** options have changed: crossfade, random, repeat, ... */ | /** options have changed: crossfade, random, repeat, ... */ | |||
MPD_IDLE_OPTIONS = 0x40, | MPD_IDLE_OPTIONS = 0x40, | |||
/** a database update has started or finished. */ | /** a database update has started or finished. */ | |||
MPD_IDLE_UPDATE = 0x80, | MPD_IDLE_UPDATE = 0x80, | |||
/** a sticker has been modified. */ | ||||
MPD_IDLE_STICKER = 0x100, | ||||
/** a client has subscribed or unsubscribed to/from a channel */ | ||||
MPD_IDLE_SUBSCRIPTION = 0x200, | ||||
/** a message on the subscribed channel was receivedd */ | ||||
MPD_IDLE_MESSAGE = 0x400, | ||||
}; | }; | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** | /** | |||
* Returns the name of the specified idle event. | * Returns the name of the specified idle event. | |||
* | * | |||
* @param idle an idle event id | * @param idle an idle event id | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||
playlist.h | playlist.h | |||
---|---|---|---|---|
skipping to change at line 120 | skipping to change at line 120 | |||
* #mpd_playlist object. | * #mpd_playlist object. | |||
* | * | |||
* @return true if the pair was parsed and added to the playlist (or if | * @return true if the pair was parsed and added to the playlist (or if | |||
* the pair was not understood and ignored), false if this pair is the | * the pair was not understood and ignored), false if this pair is the | |||
* beginning of the next playlist | * beginning of the next playlist | |||
*/ | */ | |||
bool | bool | |||
mpd_playlist_feed(struct mpd_playlist *playlist, const struct mpd_pair *pai r); | mpd_playlist_feed(struct mpd_playlist *playlist, const struct mpd_pair *pai r); | |||
/** | /** | |||
* Obtain a list of stored playlists. | ||||
* | ||||
* @param connection the connection to MPD | ||||
* @return true on success, false on error | ||||
*/ | ||||
bool | ||||
mpd_send_list_playlists(struct mpd_connection *connection); | ||||
/** | ||||
* Receives the next playlist from the MPD server. | * Receives the next playlist from the MPD server. | |||
* | * | |||
* @return a #mpd_playlist object, or NULL on error or if the playlist list is | * @return a #mpd_playlist object, or NULL on error or if the playlist list is | |||
* finished | * finished | |||
*/ | */ | |||
mpd_malloc | mpd_malloc | |||
struct mpd_playlist * | struct mpd_playlist * | |||
mpd_recv_playlist(struct mpd_connection *connection); | mpd_recv_playlist(struct mpd_connection *connection); | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
/*! \file | /*! \file | |||
* \brief MPD client library | * \brief MPD client library | |||
* | * | |||
* Do not include this header directly. Use mpd/client.h instead. | * Do not include this header directly. Use mpd/client.h instead. | |||
*/ | */ | |||
#ifndef MPD_VERSION_H | #ifndef MPD_VERSION_H | |||
#define MPD_VERSION_H | #define MPD_VERSION_H | |||
#define LIBMPDCLIENT_MAJOR_VERSION 2 | #define LIBMPDCLIENT_MAJOR_VERSION 2 | |||
#define LIBMPDCLIENT_MINOR_VERSION 4 | #define LIBMPDCLIENT_MINOR_VERSION 5 | |||
#define LIBMPDCLIENT_PATCH_VERSION 0 | #define LIBMPDCLIENT_PATCH_VERSION 0 | |||
/** | /** | |||
* Preprocessor macro which allows you to check which version of | * Preprocessor macro which allows you to check which version of | |||
* libmpdclient you are compiling with. It can be used in | * libmpdclient you are compiling with. It can be used in | |||
* preprocessor directives. | * preprocessor directives. | |||
* | * | |||
* @return true if this libmpdclient version equals or is newer than | * @return true if this libmpdclient version equals or is newer than | |||
* the specified version number | * the specified version number | |||
* @since libmpdclient 2.1 | * @since libmpdclient 2.1 | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||