Added xml_template_apply

This commit is contained in:
Olof hagsand 2024-02-19 12:20:20 +01:00
parent 9bc60abe2e
commit b551e9e5c7
4 changed files with 134 additions and 0 deletions

View file

@ -89,6 +89,7 @@ static inline char * strdup4(char *str)
* Prototypes
*/
char **clicon_strsep(char *string, char *delim, int *nvec0);
int clixon_strsep2(char *str, char *delim1, char *delim2, char ***vcp, int *nvec);
char *clicon_strjoin (int argc, char **argv, char *delim);
char *clixon_string_del_join(char *str1, char *del, char *str2);
int clixon_strsplit(char *nodeid, const int delim, char **prefix, char **id);

View file

@ -78,5 +78,6 @@ int xml_rpc_isaction(cxobj *xn);
int xml_find_action(cxobj *xn, int top, cxobj **xap);
int purge_tagged_nodes(cxobj *xn, char *ns, char *name, char *value, int keepnode);
int clixon_compare_xmls(cxobj *xc1, cxobj *xc2, enum format_enum format);
int xml_template_apply(cxobj *x, void *arg);
#endif /* _CLIXON_XML_MAP_H_ */