C-API change yang_print: print top-level and add pretty-print parameter
Test: Fix valgrind dlclose suppresion
This commit is contained in:
parent
05372c86fc
commit
e27336e054
8 changed files with 92 additions and 40 deletions
|
|
@ -742,8 +742,10 @@ clixon_xml_parse_file(FILE *fp,
|
|||
* @code
|
||||
* cxobj *xt = NULL;
|
||||
* cxobj *xerr = NULL;
|
||||
* if (clixon_xml_parse_string(str, YB_MODULE, yspec, &xt, &xerr) < 0)
|
||||
* if ((ret = clixon_xml_parse_string(str, YB_MODULE, yspec, &xt, &xerr)) < 0)
|
||||
* err;
|
||||
* if (ret == 0)
|
||||
* // use xerr
|
||||
* if (xml_rootchild(xt, 0, &xt) < 0) # If you want to remove TOP
|
||||
* err;
|
||||
* @endcode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue