aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 15:56:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 15:56:34 +0100
commit6a2118d04c7b73450edfffb6fdc40de1a05bfe94 (patch)
tree26b72b675bc6dcf864e58d4e9ff2a4869aa48f0c /src/dbUtils.h
parentba7c9962663d2e80a6320ca097c06a0849218d27 (diff)
downloadmpd-6a2118d04c7b73450edfffb6fdc40de1a05bfe94.tar.gz
mpd-6a2118d04c7b73450edfffb6fdc40de1a05bfe94.tar.xz
mpd-6a2118d04c7b73450edfffb6fdc40de1a05bfe94.zip
queue_print, dbUtils: use struct locate_item_list
Changed the function prototypes to get locate_item_list objects instead of num_items/items.
Diffstat (limited to '')
-rw-r--r--src/dbUtils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h
index b32f6f41a..aabaea788 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -20,7 +20,7 @@
#define MPD_DB_UTILS_H
struct client;
-struct locate_item;
+struct locate_item_list;
int printAllIn(struct client *client, const char *name);
@@ -32,21 +32,21 @@ int printInfoForAllIn(struct client *client, const char *name);
int
searchForSongsIn(struct client *client, const char *name,
- int numItems, const struct locate_item * items);
+ const struct locate_item_list *criteria);
int
findSongsIn(struct client *client, const char *name,
- int numItems, const struct locate_item * items);
+ const struct locate_item_list *criteria);
int
searchStatsForSongsIn(struct client *client, const char *name,
- int numItems, const struct locate_item * items);
+ const struct locate_item_list *criteria);
unsigned long sumSongTimesIn(const char *name);
int
-listAllUniqueTags(struct client *client, int type, int numConditiionals,
- const struct locate_item *conditionals);
+listAllUniqueTags(struct client *client, int type,
+ const struct locate_item_list *criteria);
void printSavedMemoryFromFilenames(void);