diff options
Diffstat (limited to 'lib/yang.h')
| -rw-r--r-- | lib/yang.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h index 4680db08d4..885218272a 100644 --- a/lib/yang.h +++ b/lib/yang.h @@ -514,6 +514,11 @@ extern void yang_data_free(struct yang_data *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. */ |
