Added source code comments, return error value if adding/removing a

listener failed
This commit is contained in:
chme
2015-05-21 07:57:18 +02:00
parent 0b73233197
commit 8c12929b91
3 changed files with 41 additions and 9 deletions

View File

@@ -54,7 +54,10 @@ struct player_status {
/* Playlist id */
uint32_t plid;
/* Playlist version */
/* Playlist version
After startup plversion is 0 and gets incremented after each change of the playlist
(e. g. after adding/moving/removing items). It is used by mpd clients to recognize if
they need to update the current playlist. */
uint32_t plversion;
/* Playlist length */
uint32_t playlistlength;