1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-02 14:04:22 +00:00

Load postgresql plugin and use that in tag.

Only partially implemented.
This commit is contained in:
King_DuckZ 2016-05-27 20:31:07 +02:00
parent c97a08860f
commit 20b2a8695e
8 changed files with 83 additions and 65 deletions

View file

@ -19,11 +19,13 @@
#define idDC29E3C667BD4793BA0644AE7DC5BD3F
#include <string>
#include "db/settings.hpp"
#include "backends/backend_loader.hpp"
#include "backends/db_backend.hpp"
namespace dinlib {
struct Settings {
dindb::Settings db;
std::string backend_name;
dindb::BackendPlugin backend_plugin;
};
bool load_settings ( const std::string& parPath, Settings& parOut, bool parExpand=true );