aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h
index 592b62e95..2cc7b9f25 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -21,27 +21,30 @@
#include "locate.h"
-int printAllIn(int fd, const char *name);
+struct client;
+
+int printAllIn(struct client *client, const char *name);
int addAllIn(const char *name);
int addAllInToStoredPlaylist(const char *name, const char *utf8file);
-int printInfoForAllIn(int fd, const char *name);
+int printInfoForAllIn(struct client *client, const char *name);
-int searchForSongsIn(int fd, const char *name, int numItems,
- LocateTagItem * items);
+int searchForSongsIn(struct client *client, const char *name,
+ int numItems, LocateTagItem * items);
-int findSongsIn(int fd, const char *name, int numItems, LocateTagItem * items);
+int findSongsIn(struct client *client, const char *name,
+ int numItems, LocateTagItem * items);
-int searchStatsForSongsIn(int fd, const char *name, int numItems,
- LocateTagItem * items);
+int searchStatsForSongsIn(struct client *client, const char *name,
+ int numItems, LocateTagItem * items);
int countSongsIn(const char *name);
unsigned long sumSongTimesIn(const char *name);
-int listAllUniqueTags(int fd, int type, int numConditiionals,
+int listAllUniqueTags(struct client *client, int type, int numConditiionals,
LocateTagItem * conditionals);
void printSavedMemoryFromFilenames(void);