From 7819aa6b2060b600b9ec2471f250038eeebae523 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Sep 2011 23:03:05 +0200 Subject: db_plugin: introducing a plugin API for the song database First draft, not really pluggable currently - hard-coded to use the "simple" plugin, and calls several of its internal functions. The API is very simple currently, all searches are still performed over the root "directory" object. Future changes to the API will move those search implementations into the plugin, to allow more efficient implementations, or implementations that don't have the whole tree in memory all the time. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index ae4c4a7c3..fd34b74e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -272,6 +272,8 @@ src_mpd_SOURCES = \ src/database.c \ src/db_save.c src/db_save.h \ src/db_print.c src/db_print.h \ + src/db_plugin.h \ + src/db/simple_db_plugin.c src/db/simple_db_plugin.h \ src/dirvec.c \ src/exclude.c \ src/fd_util.c \ -- cgit v1.2.3