aboutsummaryrefslogtreecommitdiffstats
path: root/src/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* directory: replace dirvec with doubly linked listMax Kellermann2012-01-241-2/+6
| | | | | Random access is not needed, and a linked list is easier to manage: we don't need to (re-)allocate the pointer array.
* directory: simplify constructors and clarify API documentationMax Kellermann2012-01-241-2/+2
| | | | | Pass only the "name" to a directory, instead of the full (relative) path.
* db/simple: pass the correct GError pointerMax Kellermann2012-01-121-1/+1
|
* db_plugin: add method visit()Max Kellermann2011-09-131-0/+41
|
* db_plugin: add method get_song()Max Kellermann2011-09-131-0/+17
| | | | New db_get_song() implementation.
* db_plugin: introducing a plugin API for the song databaseMax Kellermann2011-09-102-0/+329
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.