diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-09-27 16:18:31 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-09-27 16:18:31 +0300 |
commit | 0c8c9cd98ddc28b662a4d3f777483e566e584c19 (patch) | |
tree | 97ef66dee1095b374f371fb8059d2c5aacc25c49 /server/src/api_core.cpp | |
parent | 380a818768c810b7d9eed5cb240c15305921910f (diff) |
server:
api:
added std::list<std::string> metadata_setting_list(const std::string &module_name) to get list of all saved settings/metadata entries
flat_files_metadata_module:
implemented new metadata api call
curl_downloader_module:
reimplemented startup metadaats loading, still bad ...
Diffstat (limited to 'server/src/api_core.cpp')
-rw-r--r-- | server/src/api_core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/api_core.cpp b/server/src/api_core.cpp index edc0e0a..aa5b58c 100644 --- a/server/src/api_core.cpp +++ b/server/src/api_core.cpp @@ -42,6 +42,11 @@ bool core_api::metadata_remove(module_base *m, const std::string &setting_name) { return runtime_config.default_metadata_storage->remove(m->get_module_info().name, setting_name); } +std::list<std::string> core_api::metadata_setting_list(module_base *m) +{ + return runtime_config.default_metadata_storage->setting_list(m->get_module_info().name); +} + std::map<std::string, setting_s> core_api::get_module_settings(module_base *m) { |