Home
last modified time | relevance | path

Searched refs:cxobj (Results 1 – 25 of 108) sorted by relevance

12345

/dports/devel/clixon/clixon-4.8.0/lib/clixon/
H A Dclixon_xml.h169 cxobj *xml_parent(cxobj *xn);
184 cxobj *xml_child_i(cxobj *xn, int i);
186 cxobj *xml_child_i_set(cxobj *xt, int i, cxobj *xc);
188 cxobj *xml_child_each(cxobj *xparent, cxobj *xprev, enum cxobj_type type);
192 cxobj **xml_childvec_get(cxobj *x);
200 int xml_addsub(cxobj *xp, cxobj *xc);
202 cxobj *xml_wrap(cxobj *xc, char *tag);
214 cxobj *xml_body_get(cxobj *xn);
225 int xml_copy(cxobj *x0, cxobj *x1);
226 cxobj *xml_dup(cxobj *x0);
[all …]
H A Dclixon_xml_map.h52 int isxmlns(cxobj *x);
57 int xmlns_assign(cxobj *x);
59 int cvec2xml_1(cvec *cvv, char *toptag, cxobj *xp, cxobj **xt0);
60 int xml_diff(yang_stmt *yspec, cxobj *x0, cxobj *x1,
61 cxobj ***first, int *firstlen,
63 cxobj ***changed_x0, cxobj ***changed_x1, int *changedlen);
72 int xml_non_config_data(cxobj *xt, cxobj **xerr);
74 int assign_namespace_element(cxobj *x0, cxobj *x1, cxobj *x1p);
75 int assign_namespace_body(cxobj *x0, char *x0bstr, cxobj *x1);
76 int xml_merge(cxobj *x0, cxobj *x1, yang_stmt *yspec, char **reason);
[all …]
H A Dclixon_xml_io.h46 int clicon_xml2file_cb(FILE *f, cxobj *x, int level, int prettyprint, clicon_output_cb *fn);
47 int clicon_xml2file(FILE *f, cxobj *x, int level, int prettyprint);
48 int xml_print(FILE *f, cxobj *xn);
49 int clicon_xml2cbuf(cbuf *cb, cxobj *x, int level, int prettyprint, int32_t depth);
50 char *clicon_xml2str(cxobj *x);
51 int xmltree2cbuf(cbuf *cb, cxobj *x, int level);
53 int clixon_xml_parse_file(int fd, yang_bind yb, yang_stmt *yspec, char *endtag, cxobj **xt, cxobj *…
54 int clixon_xml_parse_string(const char *str, yang_bind yb, yang_stmt *yspec, cxobj **xt, cxobj **xe…
57 int clixon_xml_parse_va(yang_bind yb, yang_stmt *yspec, cxobj **xt, cxobj **xerr,
60 int clixon_xml_parse_va(yang_bind yb, yang_stmt *yspec, cxobj **xt, cxobj **xerr,
H A Dclixon_path.h78 int xml_yang_root(cxobj *x, cxobj **xr);
82 int api_path2xpath(char *api_path, yang_stmt *yspec, char **xpath, cvec **nsc, cxobj **xerr);
83 int api_path2xml(char *api_path, yang_stmt *yspec, cxobj *xtop,
85 cxobj **xpathp, yang_stmt **ypathp, cxobj **xerr);
86 int xml2api_path_1(cxobj *x, cbuf *cb);
88 int clixon_xml_find_api_path(cxobj *xt, yang_stmt *yt, cxobj ***xvec, int *xlen, const char *format,
90 int clixon_xml_find_instance_id(cxobj *xt, yang_stmt *yt, cxobj ***xvec, int *xlen, const char *for…
94 int clixon_xml_find_api_path(cxobj *xt, yang_stmt *yt, cxobj ***xvec, int *xlen, const char *forma…
95 int clixon_xml_find_instance_id(cxobj *xt, yang_stmt *yt, cxobj ***xvec, int *xlen, const char *for…
H A Dclixon_netconf_lib.h72 int netconf_invalid_value_xml(cxobj **xret, char *type, char *message);
87 int netconf_access_denied_xml(cxobj **xret, char *type, char *message);
93 int netconf_data_missing_xml(cxobj **xret, char *missing_choice, char *message);
96 int netconf_operation_failed_xml(cxobj **xret, char *type, char *message);
98 int netconf_malformed_message_xml(cxobj **xret, char *message);
99 int netconf_data_not_unique_xml(cxobj **xret, cxobj *x, cvec *cvk);
100 int netconf_minmax_elements_xml(cxobj **xret, cxobj *xp, char *name, int max);
101 int netconf_trymerge(cxobj *x, yang_stmt *yspec, cxobj **xret);
104 char *netconf_db_find(cxobj *xn, char *name);
105 int netconf_err2cb(cxobj *xerr, cbuf *cberr);
[all …]
H A Dclixon_xml_sort.h44 int xml_cmp(cxobj *x1, cxobj *x2, int same, int skip1, char *expl);
45 int xml_sort(cxobj *x0);
46 int xml_sort_recurse(cxobj *xn);
47 int xml_insert(cxobj *xp, cxobj *xc, enum insert_type ins, char *key_val, cvec *nsckey);
48 int xml_sort_verify(cxobj *x, void *arg);
50 int xml_search_indexvar_binary_pos(cxobj *xp, char *indexvar, clixon_xvec *xvec,
53 int match_base_child(cxobj *x0, cxobj *x1c, yang_stmt *yc, cxobj **x0cp);
54 int clixon_xml_find_index(cxobj *xp, yang_stmt *yp, char *ns, char *name,
56 int clixon_xml_find_pos(cxobj *xp, yang_stmt *yc, uint32_t pos, clixon_xvec *xvec);
H A Dclixon_xpath.h138 int xpath_vec_flag(cxobj *xcur, cvec *nsc, const char *xpformat, uint16_t flags,
139 cxobj ***vec, int *veclen, ...) __attribute__ ((format (printf, 3, 7)));
142 int xpath_vec_bool(cxobj *xcur, cvec *nsc, const char *xpformat, ...);
143 int xpath_vec_flag(cxobj *xcur, cvec *nsc, const char *xpformat, uint16_t flags,
144 cxobj ***vec, int *veclen, ...);
153 cxobj *xpath_first(cxobj *xcur, cvec *nsc, const char *xpformat, ...) __attribute__ ((format (prin…
154 cxobj *xpath_first_localonly(cxobj *xcur, const char *xpformat, ...) __attribute__ ((format (print…
155 int xpath_vec(cxobj *xcur, cvec *nsc, const char *xpformat, cxobj ***vec, size_t *veclen, ...) _…
157 cxobj *xpath_first(cxobj *xcur, cvec *nsc, const char *xpformat, ...);
158 cxobj *xpath_first_localonly(cxobj *xcur, const char *xpformat, ...);
[all …]
H A Dclixon_json.h46 int json2xml_decode(cxobj *x, cxobj **xerr);
47 int xml2json_cbuf(cbuf *cb, cxobj *x, int pretty);
48 int xml2json_cbuf_vec(cbuf *cb, cxobj **vec, size_t veclen, int pretty);
49 int xml2json(FILE *f, cxobj *x, int pretty);
50 int xml2json_cb(FILE *f, cxobj *x, int pretty, clicon_output_cb *fn);
51 int json_print(FILE *f, cxobj *x);
52 int xml2json_vec(FILE *f, cxobj **vec, size_t veclen, int pretty);
53 int clixon_json_parse_string(char *str, yang_bind yb, yang_stmt *yspec, cxobj **xt, cxobj **xret);
54 int clixon_json_parse_file(int fd, yang_bind yb, yang_stmt *yspec, cxobj **xt, cxobj **xret);
H A Dclixon_validate.h44 int xml_yang_validate_rpc(clicon_handle h, cxobj *xrpc, cxobj **xret);
45 int xml_yang_validate_add(clicon_handle h, cxobj *xt, cxobj **xret);
46 int xml_yang_validate_list_key_only(cxobj *xt, cxobj **xret);
47 int xml_yang_validate_all(clicon_handle h, cxobj *xt, cxobj **xret);
48 int xml_yang_validate_all_top(clicon_handle h, cxobj *xt, cxobj **xret);
H A Dclixon_xml_bind.h47 int xml_bind_yang_rpc(cxobj *xrpc, yang_stmt *yspec, cxobj **xerr);
48 int xml_bind_yang_rpc_reply(cxobj *xrpc, char *name, yang_stmt *yspec, cxobj **xerr);
49 int xml_bind_yang0(cxobj *xt, yang_bind yb, yang_stmt *yspec, cxobj **xerr);
50 int xml_bind_yang(cxobj *xt, yang_bind yb, yang_stmt *yspec, cxobj **xerr);
H A Dclixon_data.h56 cxobj *de_xml; /* cache */
84 cxobj * clicon_nacm_ext(clicon_handle h);
85 int clicon_nacm_ext_set(clicon_handle h, cxobj *xn);
87 cxobj *clicon_nacm_cache(clicon_handle h);
88 int clicon_nacm_cache_set(clicon_handle h, cxobj *xn);
90 cxobj *clicon_conf_xml(clicon_handle h);
91 int clicon_conf_xml_set(clicon_handle h, cxobj *x);
110 cxobj *clicon_modst_cache_get(clicon_handle h, int brief);
111 int clicon_modst_cache_set(clicon_handle h, int brief, cxobj *xms);
114 cxobj *clicon_xml_changelog_get(clicon_handle h);
[all …]
H A Dclixon_nacm.h59 int nacm_rpc(char *rpc, char *module, char *username, cxobj *xnacm, cbuf *cbret);
60 int nacm_datanode_read(clicon_handle h, cxobj *xt, cxobj **xvec, size_t xlen, char *username,
61 cxobj *nacm_xtree);
62 int nacm_datanode_write(clicon_handle h, cxobj *xr, cxobj *xt,
64 char *username, cxobj *xnacm, cbuf *cbret);
65 int nacm_access_pre(clicon_handle h, char *peername, char *username, cxobj **xnacmp);
/dports/devel/clixon/clixon-4.8.0/lib/src/
H A Dclixon_xml.c565 cxobj*
791 cxobj *
809 cxobj *
832 cxobj *
902 cxobj *
1048 cxobj *
1098 cxobj *
1198 cxobj *
1283 cxobj *
1312 cxobj *
[all …]
H A Dclixon_xml_changelog.c83 cxobj *xt, in changelog_rename()
84 cxobj *xw, in changelog_rename()
127 cxobj *x; in changelog_replace()
157 cxobj *xt, in changelog_insert()
158 cxobj *xw, in changelog_insert()
162 cxobj *x; in changelog_insert()
184 cxobj *xt, in changelog_delete()
185 cxobj *xw) in changelog_delete()
241 cxobj *xw; in changelog_op()
382 cxobj *xch; in xml_changelog_upgrade()
[all …]
H A Dclixon_datastore_read.c91 cxobj **xp) in singleconfigroot()
94 cxobj *x = NULL; in singleconfigroot()
129 cxobj *x0, in xml_copy_bottom_recurse()
130 cxobj *x1t, in xml_copy_bottom_recurse()
131 cxobj **x1pp) in xml_copy_bottom_recurse()
139 cxobj *x0k; in xml_copy_bottom_recurse()
140 cxobj *x1k; in xml_copy_bottom_recurse()
203 cxobj *x0, in xml_copy_from_bottom()
204 cxobj *x1t) in xml_copy_from_bottom()
372 cxobj *x; in disable_nacm_on_empty()
[all …]
H A Dclixon_xml_map.c96 isxmlns(cxobj *x) in isxmlns()
114 tleaf(cxobj *x) in tleaf()
116 cxobj *xc; in tleaf()
208 cxobj *x, in xml2txt()
463 cxobj *xp, in cvec2xml_1()
464 cxobj **xt0) in cvec2xml_1()
630 cxobj *x1, in xml_diff()
938 cxobj *xp; in xml_namespace_change()
1629 cxobj *x1p, in assign_namespace()
1785 cxobj *xa; in assign_namespace_body()
[all …]
H A Dclixon_netconf_lib.c131 cxobj *xa; in netconf_invalid_value_xml()
318 cxobj *xa; in netconf_bad_attribute_xml()
412 cxobj *xa; in netconf_common_xml()
668 cxobj *xa; in netconf_access_denied_xml()
904 cxobj *xa; in netconf_data_missing_xml()
1037 cxobj *xa; in netconf_operation_failed_xml()
1121 cxobj *xa; in netconf_malformed_message_xml()
1173 cxobj *xa; in netconf_data_not_unique_xml()
1237 cxobj *xa; in netconf_minmax_elements_xml()
1294 cxobj *xc; in netconf_trymerge()
[all …]
H A Dclixon_nacm.c184 cxobj *xnacm, in nacm_rpc()
188 cxobj *xrule; in nacm_rpc()
191 cxobj *rlist; in nacm_rpc()
538 cxobj *xp; in nacm_data_write_xrule_xml()
609 cxobj *x; in nacm_datanode_write_recurse()
791 cxobj *xn) in nacm_data_read_action()
829 cxobj *xp; in nacm_data_read_xrule_xml()
885 cxobj *x; in nacm_datanode_read_recurse()
886 cxobj *xprev; in nacm_datanode_read_recurse()
1106 cxobj *x; in nacm_access_check()
[all …]
H A Dclixon_proto_client.c207 cxobj **xret, in clicon_rpc_netconf()
245 cxobj *xml, in clicon_rpc_netconf_xml()
246 cxobj **xret, in clicon_rpc_netconf_xml()
251 cxobj *xname; in clicon_rpc_netconf_xml()
253 cxobj *xreply; in clicon_rpc_netconf_xml()
322 cxobj **xt) in clicon_rpc_get_config()
329 cxobj *xd; in clicon_rpc_get_config()
429 cxobj *xerr; in clicon_rpc_edit_config()
683 cxobj **xt) in clicon_rpc_get()
690 cxobj *xd; in clicon_rpc_get()
[all …]
H A Dclixon_xml_bind.c105 cxobj *xc; in strip_whitespace()
132 cxobj **xerr) in populate_self_parent()
237 cxobj **xerr) in populate_self_top()
246 cxobj *xp; in populate_self_top()
382 cxobj **xerr) in xml_bind_yang0_opt()
390 cxobj *xs; in xml_bind_yang0_opt()
531 cxobj **xerr) in xml_bind_yang_rpc()
537 cxobj *x; in xml_bind_yang_rpc()
543 cxobj *xc; in xml_bind_yang_rpc()
635 cxobj **xerr) in xml_bind_yang_rpc_reply()
[all …]
H A Dclixon_xml_sort.c200 xml_cmp(cxobj *x1, in xml_cmp()
201 cxobj *x2, in xml_cmp()
410 xml_sort(cxobj *x) in xml_sort()
431 cxobj *x; in xml_sort_recurse()
469 cxobj *x1, in xml_find_keys_notsorted()
477 cxobj *xc; in xml_find_keys_notsorted()
521 cxobj *x1, in search_multi_equals()
723 cxobj *x1, in xml_search_binary()
806 cxobj *xa; in xml_search_yang()
1222 cxobj *xcc; in xml_find_noyang_cvk()
[all …]
H A Dclixon_validate.c103 cxobj **xret) in validate_leafref()
109 cxobj *x; in validate_leafref()
382 cxobj *x; in check_choice()
383 cxobj *xp; in check_choice()
503 cxobj **xret) in check_mandatory()
507 cxobj *x; in check_mandatory()
797 cxobj **xret) in check_list_unique_minmax()
969 cxobj *x; in xml_yang_validate_add()
1055 cxobj *x; in xml_yang_validate_list_key_only()
1114 cxobj *x; in xml_yang_validate_all()
[all …]
H A Dclixon_xml_vec.c78 cxobj **xv_vec; /* Sorted vector of xml object pointers */
103 if ((xv->xv_vec = realloc(xv->xv_vec, sizeof(cxobj *) * xv->xv_max)) == NULL){ in clixon_xvec_inc()
153 (xv1->xv_vec = calloc(xv1->xv_max, sizeof(cxobj*))) == NULL){ in clixon_xvec_dup()
159 memcpy(xv1->xv_vec, xv0->xv_vec, xv0->xv_len*sizeof(cxobj*)); in clixon_xvec_dup()
191 cxobj*
211 cxobj ***xvec, in clixon_xvec_extract()
246 cxobj *x) in clixon_xvec_append()
273 cxobj *x) in clixon_xvec_prepend()
296 cxobj *x, in clixon_xvec_insert_pos()
304 size = (xv->xv_len - i -1)*sizeof(cxobj *); in clixon_xvec_insert_pos()
[all …]
/dports/devel/clixon/clixon-4.8.0/apps/netconf/
H A Dnetconf_rpc.c87 cxobj **xret) in netconf_get_config_subtree()
90 cxobj *xdata; in netconf_get_config_subtree()
161 cxobj *xn, in netconf_get_config()
162 cxobj **xret) in netconf_get_config()
222 cxobj *x; in get_edit_opts()
311 cxobj *xn, in netconf_edit_config()
361 cxobj *xn, in netconf_get()
557 cxobj *xn, in netconf_application_rpc()
558 cxobj **xret) in netconf_application_rpc()
666 cxobj *xe; in netconf_rpc_dispatch()
[all …]
H A Dnetconf_filter.c82 leafstring(cxobj *x) in leafstring()
84 cxobj *c; in leafstring()
107 xml_filter_recursive(cxobj *xfilter, in xml_filter_recursive()
108 cxobj *xparent, in xml_filter_recursive()
111 cxobj *s; in xml_filter_recursive()
112 cxobj *sprev; in xml_filter_recursive()
113 cxobj *f; in xml_filter_recursive()
114 cxobj *attr; in xml_filter_recursive()
199 xml_filter(cxobj *xfilter, in xml_filter()
200 cxobj *xconfig) in xml_filter()

12345