mpd/src/db/Registry.hxx

20 lines
435 B
C++
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
2012-08-07 20:07:17 +02:00
#ifndef MPD_DATABASE_REGISTRY_HXX
#define MPD_DATABASE_REGISTRY_HXX
struct DatabasePlugin;
/**
2013-10-19 18:19:03 +02:00
* nullptr terminated list of all database plugins which were enabled at
2012-08-07 20:07:17 +02:00
* compile time.
*/
extern const DatabasePlugin *const database_plugins[];
2021-10-13 11:28:04 +02:00
[[gnu::pure]]
2012-08-07 20:07:17 +02:00
const DatabasePlugin *
GetDatabasePluginByName(const char *name) noexcept;
2012-08-07 20:07:17 +02:00
#endif