#include "yang_wrappers.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
DECLARE_MTYPE(YANG_MODULE)
DECLARE_MTYPE(YANG_DATA)
*/
extern struct list *yang_data_list_new(void);
+/*
+ * Create and set up a libyang context (for use by the translator)
+ */
+extern struct ly_ctx *yang_ctx_new_setup(void);
+
/*
* Initialize the YANG subsystem. Should be called only once during the
* daemon initialization process.
*/
extern void yang_terminate(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FRR_YANG_H_ */