aboutsummaryrefslogtreecommitdiff
path: root/src/dbUtils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-10 19:24:30 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 19:37:28 +0200
commit169db88c20dc7601f8589cfa298254c932f0947a (patch)
treeb0cc3af153237379a1dbbb2fa90eb37eed05752f /src/dbUtils.h
parentca419c84b83d017c3e4309e22f92273500197eea (diff)
database: add struct db_visitor
Use this struct for db_walk().
Diffstat (limited to 'src/dbUtils.h')
-rw-r--r--src/dbUtils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h
index 65349a32..f693a779 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -26,16 +26,16 @@
struct locate_item_list;
struct player_control;
-int
-addAllIn(struct player_control *pc, const char *name);
+bool
+addAllIn(struct player_control *pc, const char *uri, GError **error_r);
bool
addAllInToStoredPlaylist(const char *uri_utf8, const char *path_utf8,
GError **error_r);
-int
+bool
findAddIn(struct player_control *pc, const char *name,
- const struct locate_item_list *criteria);
+ const struct locate_item_list *criteria, GError **error_r);
unsigned long sumSongTimesIn(const char *name);