MPD  0.20.15
Functions
DatabaseGlue.hxx File Reference
#include "Compiler.h"
Include dependency graph for DatabaseGlue.hxx:

Go to the source code of this file.

Functions

Database * DatabaseGlobalInit (EventLoop &loop, DatabaseListener &listener, const ConfigBlock &block)
 Initialize the database library. More...
 

Function Documentation

◆ DatabaseGlobalInit()

Database* DatabaseGlobalInit ( EventLoop &  loop,
DatabaseListener &  listener,
const ConfigBlock &  block 
)

Initialize the database library.

Throws #std::runtime_error on error.

Parameters
blockthe database configuration block