Cleaning up code for xml insignificant whitespace removal
Experimenal explicit index search code
This commit is contained in:
parent
c7d6f69a85
commit
a674af6f2c
32 changed files with 493 additions and 180 deletions
|
|
@ -136,12 +136,19 @@ main(int argc,
|
|||
struct stat st;
|
||||
cvec *nsc = NULL;
|
||||
int canonical = 0;
|
||||
cxobj *xcfg = NULL;
|
||||
|
||||
/* In the startup, logs to stderr & debug flag set later */
|
||||
clicon_log_init("xpath", LOG_DEBUG, CLICON_LOG_STDERR);
|
||||
|
||||
/* Initialize clixon handle */
|
||||
if ((h = clicon_handle_init()) == NULL)
|
||||
goto done;
|
||||
|
||||
/* Initialize config tree (needed for -Y below) */
|
||||
if ((xcfg = xml_new("clixon-config", NULL, NULL)) == NULL)
|
||||
goto done;
|
||||
if (clicon_conf_xml_set(h, xcfg) < 0)
|
||||
goto done;
|
||||
|
||||
optind = 1;
|
||||
opterr = 0;
|
||||
while ((c = getopt(argc, argv, XPATH_OPTS)) != -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue