MPD
0.20.15
|
#include "check.h"
Go to the source code of this file.
Functions | |
Database * | CreateConfiguredDatabase (EventLoop &loop, DatabaseListener &listener) |
Read database configuration settings and create a Database instance from it, but do not open it. More... | |
Database* CreateConfiguredDatabase | ( | EventLoop & | loop, |
DatabaseListener & | listener | ||
) |
Read database configuration settings and create a Database instance from it, but do not open it.
Returns nullptr if no database is configured.
Throws #std::runtime_error on error.