MPD: storage/Configured.hxx File Reference

MPD 0.20.15

Functions
Configured.hxx File Reference
`#include "check.h"`
`#include "Compiler.h"`
Include dependency graph for Configured.hxx:

Go to the source code of this file.

## Functions
Storage * | CreateConfiguredStorage (EventLoop &event_loop)
| Read storage configuration settings and create a Storage instance from it. More...
gcc_const bool | IsStorageConfigured () noexcept
| Returns true if there is configuration for a Storage instance. More...

## Function Documentation

## ◆ CreateConfiguredStorage()

Storage* CreateConfiguredStorage | ( | EventLoop & | event_loop | ) |

Read storage configuration settings and create a Storage instance from it.

Returns nullptr if no storage is configured.

Throws #std::runtime_error on error.

## ◆ IsStorageConfigured()

gcc_const bool IsStorageConfigured | ( |  | ) |
| noexcept

Returns true if there is configuration for a Storage instance.