Request YANG schemas via sysrepo

The std::function that is fed into YangSchema::registerModuleCallback
does not have the same signature that libyang requires, because we would
have to include libyang in the sysrepo_access header file. We don't want this
class to know about libyang, so instead, we use an intermediate function,
that has string arguments and a string return type. In YangSchema, this
function is wrapped with another function, that has the required signature.

Change-Id: Ibd2dcb89344cf1454ba0b3970cac0c8e88ffa20d
5 files changed
tree: 883aecd1c88b4f0fc05372dda67a937bdf8cfe5d
  1. .clang-format
  2. .gitmodules
  3. CMakeLists.txt
  4. Doxyfile.in
  5. LICENSE
  6. README.md
  7. ci/
  8. cmake/
  9. docs/
  10. src/
  11. submodules/
  12. tests/
README.md

Console interface to NETCONF servers

Credits

Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.