MPD 0.17~git
src/queue_print.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2003-2011 The Music Player Daemon Project
00003  * http://www.musicpd.org
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License along
00016  * with this program; if not, write to the Free Software Foundation, Inc.,
00017  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018  */
00019 
00020 /*
00021  * This library sends information about songs in the queue to the
00022  * client.
00023  */
00024 
00025 #ifndef QUEUE_PRINT_H
00026 #define QUEUE_PRINT_H
00027 
00028 #include <stdint.h>
00029 
00030 struct client;
00031 struct queue;
00032 struct locate_item_list;
00033 
00034 void
00035 queue_print_info(struct client *client, const struct queue *queue,
00036                  unsigned start, unsigned end);
00037 
00038 void
00039 queue_print_uris(struct client *client, const struct queue *queue,
00040                  unsigned start, unsigned end);
00041 
00042 void
00043 queue_print_changes_info(struct client *client, const struct queue *queue,
00044                          uint32_t version);
00045 
00046 void
00047 queue_print_changes_position(struct client *client, const struct queue *queue,
00048                              uint32_t version);
00049 
00050 void
00051 queue_search(struct client *client, const struct queue *queue,
00052              const struct locate_item_list *criteria);
00053 
00054 void
00055 queue_find(struct client *client, const struct queue *queue,
00056            const struct locate_item_list *criteria);
00057 
00058 #endif