* Added new function xml_child_index_each() to iterate over the children of an XML node according to the order defined by an explicit index variable.

This commit is contained in:
Olof hagsand 2020-05-20 15:21:59 +02:00
parent 1a1aa58249
commit 6629f3d780
3 changed files with 63 additions and 2 deletions

View file

@ -249,6 +249,8 @@ int xml_search_index_p(cxobj *x);
int xml_search_vector_get(cxobj *x, char *name, clixon_xvec **xvec);
int xml_search_child_insert(cxobj *xp, cxobj *x);
int xml_search_child_rm(cxobj *xp, cxobj *x);
cxobj *xml_child_index_each(cxobj *xparent, char *name, cxobj *xprev, enum cxobj_type type);
#endif