aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-10 18:48:10 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 21:47:00 +0200
commita94d4be466ea3a48389361b483f72df45834f7d2 (patch)
tree734076ad49d963a00648f58dee4cde111dc0364a /src/database.h
parentb7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75 (diff)
downloadmpd-a94d4be466ea3a48389361b483f72df45834f7d2.tar.gz
mpd-a94d4be466ea3a48389361b483f72df45834f7d2.tar.xz
mpd-a94d4be466ea3a48389361b483f72df45834f7d2.zip
db_plugin: add method visit()
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/database.h b/src/database.h
index 1696031d0..33f503652 100644
--- a/src/database.h
+++ b/src/database.h
@@ -29,6 +29,7 @@
struct config_param;
struct directory;
+struct db_selection;
struct db_visitor;
/**
@@ -59,6 +60,12 @@ db_get_song(const char *file);
gcc_nonnull(1,2)
bool
+db_visit(const struct db_selection *selection,
+ const struct db_visitor *visitor, void *ctx,
+ GError **error_r);
+
+gcc_nonnull(1,2)
+bool
db_walk(const char *uri,
const struct db_visitor *visitor, void *ctx,
GError **error_r);