command: use queue_print_*()

Replaced several wrapper functions from playlist.c, and make command.c
use the queue print functions directly.
This commit is contained in:
Max Kellermann
2009-01-24 14:52:04 +01:00
parent d449d6abab
commit 627d590ce5
4 changed files with 51 additions and 82 deletions

View File

@@ -33,6 +33,14 @@ void
queue_print_song_info(struct client *client, const struct queue *queue,
unsigned position);
/**
* Send detailed information about a range of songs in the queue 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)
*/
void
queue_print_info(struct client *client, const struct queue *queue,
unsigned start, unsigned end);