Home
last modified time | relevance | path

Searched refs:root_bis (Results 1 – 1 of 1) sorted by relevance

/dports/net/libyang/libyang-1.0.240/src/
H A Dcontext.c1782 struct lyd_node *root, *root_bis = NULL, *cont = NULL, *set_bis = NULL; in ly_ctx_info() local
1809 if (!(root_bis = lyd_new(NULL, mod, "yang-library"))) { in ly_ctx_info()
1813 if (!(set_bis = lyd_new(root_bis, NULL, "module-set"))) { in ly_ctx_info()
1938 if (!(cont = lyd_new(root_bis, NULL, "schema"))) { in ly_ctx_info()
1951 if (!lyd_new_leaf(root_bis, NULL, "content-id", id)) { in ly_ctx_info()
1956 if (root_bis) { in ly_ctx_info()
1957 if (lyd_insert_sibling(&root_bis, root)) { in ly_ctx_info()
1960 root = root_bis; in ly_ctx_info()
1961 root_bis = 0; in ly_ctx_info()
1972 lyd_free_withsiblings(root_bis); in ly_ctx_info()