utils: Move sysrepo helpers into one TU
There were some sysrepo helper functions scattered around the project so
move them into one TU in the utils library.
Change-Id: I2ab280394a3ee6b7889a679d791f3f1971914e85
diff --git a/src/utils/sysrepo.h b/src/utils/sysrepo.h
new file mode 100644
index 0000000..d08496b
--- /dev/null
+++ b/src/utils/sysrepo.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/
+ *
+ * Written by Tomáš Pecka <tomas.pecka@fit.cvut.cz>
+ *
+ */
+
+#pragma once
+
+#include <sysrepo-cpp/Session.hpp>
+#include <string>
+
+namespace velia::utils {
+
+void valuesToYang(const std::map<std::string, std::string>& values, std::shared_ptr<::sysrepo::Session> session, std::shared_ptr<libyang::Data_Node>& parent);
+void initLogsSysrepo();
+
+}