idle.h   idle.h 
skipping to change at line 84 skipping to change at line 84
/** 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. */ /** a sticker has been modified. */
MPD_IDLE_STICKER = 0x100, MPD_IDLE_STICKER = 0x100,
/** a client has subscribed or unsubscribed to/from a channel */ /** a client has subscribed to or unsubscribed from a channel */
MPD_IDLE_SUBSCRIPTION = 0x200, MPD_IDLE_SUBSCRIPTION = 0x200,
/** a message on the subscribed channel was received */ /** a message on a subscribed channel was received */
MPD_IDLE_MESSAGE = 0x400, 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.
* *
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 status.h   status.h 
skipping to change at line 220 skipping to change at line 220
/** /**
* Returns the position of the currently playing song in the queue * Returns the position of the currently playing song in the queue
* (beginning with 0) if a song is currently selected (always the case when * (beginning with 0) if a song is currently selected (always the case when
* state is PLAY or PAUSE). If there is no current song, -1 is returned. * state is PLAY or PAUSE). If there is no current song, -1 is returned.
*/ */
mpd_pure mpd_pure
int int
mpd_status_get_song_pos(const struct mpd_status *status); mpd_status_get_song_pos(const struct mpd_status *status);
/** /**
* Returns the id of the currently song. If there is no current song, * Returns the id of the current song. If there is no current song,
* -1 is returned. * -1 is returned.
*/ */
mpd_pure
int int
mpd_status_get_song_id(const struct mpd_status *status); mpd_status_get_song_id(const struct mpd_status *status);
/** /**
* The same as mpd_status_get_next_song_pos, but for the next song to be
* played.
*/
mpd_pure
int
mpd_status_get_next_song_pos(const struct mpd_status *status);
/**
* Returns the id of the next song to be played. If it is not known, -1 is
* returned.
*/
mpd_pure
int
mpd_status_get_next_song_id(const struct mpd_status *status);
/**
* Returns time in seconds that have elapsed in the currently playing/pause d * Returns time in seconds that have elapsed in the currently playing/pause d
* song * song
*/ */
mpd_pure mpd_pure
unsigned unsigned
mpd_status_get_elapsed_time(const struct mpd_status *status); mpd_status_get_elapsed_time(const struct mpd_status *status);
/** /**
* Returns time in milliseconds that have elapsed in the currently * Returns time in milliseconds that have elapsed in the currently
* playing/paused song. * playing/paused song.
 End of changes. 3 change blocks. 
1 lines changed or deleted 18 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/