Add VES stndDefined PM and subscription for O-DU.
[sim/o1-interface.git] / ntsimulator / ntsim-ng / utils / debug_utils.h
similarity index 69%
rename from ntsimulator/ntsim-ng/core/datastore/generate.h
rename to ntsimulator/ntsim-ng/utils/debug_utils.h
index f0b4208..8bb1423 100644 (file)
 
 #pragma once
 
-#include <stdbool.h>
 #include <string.h>
+#include <stdint.h>
+
 #include <libyang/libyang.h>
+#include <sysrepo.h>
+
+void debug_print_sr_val(const sr_val_t *value);
+void debug_print_sr_change(sr_change_oper_t op, sr_val_t *old_val, sr_val_t *new_val);
 
-struct lyd_node *datastore_load_external(const char *filename, bool operational);
+void debug_print_lyd_value(struct lyd_node *node);
+void debug_print_lyd_node(struct lyd_node *node);
 
-//generate all available root nodes (taking into consideration excluded, deprecated and unimplemented modules and containers)
-int datastore_generate_data(const char *running_filename, const char *operational_filename);
-int datastore_generate_external(void);
+void debug_print_siblings(const struct lyd_node *node);