aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:22:37 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 00:55:02 +0200
commit733d6a6b16686c852b6d0fc0e4e9197add501a2f (patch)
treec089ab2961a5b98558f7587df3c5ef995628e8b3 /src/directory.h
parent8d2725234e6271434d87ecaac23ef882850e649a (diff)
downloadmpd-733d6a6b16686c852b6d0fc0e4e9197add501a2f.tar.gz
mpd-733d6a6b16686c852b6d0fc0e4e9197add501a2f.tar.xz
mpd-733d6a6b16686c852b6d0fc0e4e9197add501a2f.zip
DatabaseSelection: add "match" attribute
Let the database plugin do the match.
Diffstat (limited to '')
-rw-r--r--src/directory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/directory.h b/src/directory.h
index c7e70121f..81eb140c2 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -54,6 +54,7 @@
struct song;
struct db_visitor;
+struct locate_item_list;
struct directory {
/**
@@ -95,7 +96,7 @@ struct directory {
/**
* Caller must lock #db_mutex.
*/
- bool Walk(bool recursive,
+ bool Walk(bool recursive, const locate_item_list *match,
VisitDirectory visit_directory, VisitSong visit_song,
VisitPlaylist visit_playlist,
GError **error_r) const;