aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue_print.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 14:52:04 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 14:52:04 +0100
commit627d590ce524faf7ec197c54e65076107af27fe9 (patch)
treee3b594abc6c2c12c6ea054a77aabc09bc5ffd59b /src/queue_print.h
parentd449d6abab3c263ae6bcfe2ae5e4465d7a1d149f (diff)
downloadmpd-627d590ce524faf7ec197c54e65076107af27fe9.tar.gz
mpd-627d590ce524faf7ec197c54e65076107af27fe9.tar.xz
mpd-627d590ce524faf7ec197c54e65076107af27fe9.zip
command: use queue_print_*()
Replaced several wrapper functions from playlist.c, and make command.c use the queue print functions directly.
Diffstat (limited to '')
-rw-r--r--src/queue_print.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/queue_print.h b/src/queue_print.h
index c67caff62..8ec7ff0fa 100644
--- a/src/queue_print.h
+++ b/src/queue_print.h
@@ -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);