Implement fetching of enabled features
Change-Id: I298a3ffeba4606bd0111460830e9ec60682e5f32
diff --git a/src/sysrepo_access.hpp b/src/sysrepo_access.hpp
index 8df1153..9861ab4 100644
--- a/src/sysrepo_access.hpp
+++ b/src/sysrepo_access.hpp
@@ -18,6 +18,7 @@
namespace sysrepo {
class Connection;
class Session;
+class Yang_Schema;
}
class Schema;
@@ -43,7 +44,7 @@
[[noreturn]] void reportErrors();
std::string fetchSchema(const char* module, const char* revision, const char* submodule);
- std::vector<std::string> listImplementedSchemas();
+ std::vector<std::shared_ptr<sysrepo::Yang_Schema>> listSchemas();
std::shared_ptr<sysrepo::Connection> m_connection;
std::shared_ptr<sysrepo::Session> m_session;