New plugin callback: ca_yang_patch - for modifying existing YANG modules
C-API: Added `spec` parameter to `xml2xpath()`
This commit is contained in:
parent
48a0fb9968
commit
a5220805b1
16 changed files with 318 additions and 193 deletions
|
|
@ -383,7 +383,7 @@ main(int argc,
|
|||
char *xpathi = NULL;
|
||||
for (i=0; i<xc->xc_size; i++){
|
||||
xi = xc->xc_nodeset[i];
|
||||
if (xml2xpath(xi, nsc, &xpathi) < 0)
|
||||
if (xml2xpath(xi, nsc, 0, &xpathi) < 0)
|
||||
goto done;
|
||||
fprintf(stdout, "Inverse: %s\n", xpathi);
|
||||
if (xpathi){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue