diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h index 87364cb4c..4af4aa82c 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -95,7 +95,16 @@ enum playlist_result deleteFromPlaylist(unsigned song); enum playlist_result deleteFromPlaylistById(unsigned song); -enum playlist_result playlistInfo(struct client *client, int song, int max); +/** + * Send detailed information about a range of songs in the playlist to + * a client. + * + * @param client the client which has requested information + * @param start the index of the first song (including) + * @param end the index of the last song (excluding) + */ +enum playlist_result +playlistInfo(struct client *client, unsigned start, unsigned end); enum playlist_result playlistId(struct client *client, int song); |