00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef MPD_DB_UTILS_H
00021 #define MPD_DB_UTILS_H
00022
00023 struct client;
00024 struct locate_item_list;
00025
00026 int printAllIn(struct client *client, const char *name);
00027
00028 int addAllIn(const char *name);
00029
00030 int addAllInToStoredPlaylist(const char *name, const char *utf8file);
00031
00032 int printInfoForAllIn(struct client *client, const char *name);
00033
00034 int
00035 searchForSongsIn(struct client *client, const char *name,
00036 const struct locate_item_list *criteria);
00037
00038 int
00039 findSongsIn(struct client *client, const char *name,
00040 const struct locate_item_list *criteria);
00041
00042 int
00043 searchStatsForSongsIn(struct client *client, const char *name,
00044 const struct locate_item_list *criteria);
00045
00046 unsigned long sumSongTimesIn(const char *name);
00047
00048 int
00049 listAllUniqueTags(struct client *client, int type,
00050 const struct locate_item_list *criteria);
00051
00052 #endif