2023-03-06 14:42:04 +01:00
|
|
|
// 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 *
|
2017-05-08 14:44:49 +02:00
|
|
|
GetDatabasePluginByName(const char *name) noexcept;
|
2012-08-07 20:07:17 +02:00
|
|
|
|
|
|
|
#endif
|