diff options
author | Qball Cow <qball@qballcow.nl> | 2007-08-19 18:52:06 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2007-08-19 18:52:06 +0000 |
commit | 609263594c2e1aae7565f3d00cd509688e4566bd (patch) | |
tree | db540a0f5fe30b8d809b667d504f0feadafa7ac7 /src/playlist.c | |
parent | d551fa7b3e0fd711794c5d490977fda30ba13d6f (diff) | |
download | mpd-609263594c2e1aae7565f3d00cd509688e4566bd.tar.gz mpd-609263594c2e1aae7565f3d00cd509688e4566bd.tar.xz mpd-609263594c2e1aae7565f3d00cd509688e4566bd.zip |
Add some comments
git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6764 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.c')
-rw-r--r-- | src/playlist.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c index 537779a7c..aafb730fa 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -1587,6 +1587,11 @@ void findSongsInPlaylist(int fd, int numItems, LocateTagItem * items) } } +/** + * Playlist Queue Functions + */ + +/* Clear the queue */ void clearPlaylistQueue(void) { freeList(playlistQueue); @@ -1594,6 +1599,7 @@ void clearPlaylistQueue(void) incrPlaylistQueueVersion(); } +/* Add a song to playlist queue by playlist id */ int addToPlaylistQueueById(int fd, int song, int toPosition) { int pos, *data; @@ -1628,6 +1634,7 @@ int addToPlaylistQueueById(int fd, int song, int toPosition) return 0; } +/* delete a song from the playlist queue based on position */ int deleteFromPlaylistQueue(int fd, int song) { if (song < 0 || song >= playlistQueue->numberOfNodes) { @@ -1655,6 +1662,7 @@ int deleteFromPlaylistQueueInternal(int song) return 0; } +/* list the playlist queue comment */ int playlistQueueInfo(int fd) { ListNode *cur = playlistQueue->firstNode; |