C-API: Added cli_process_control(), added uid to cli_process_control()
This commit is contained in:
parent
bd6a67f1d9
commit
080eef0278
12 changed files with 103 additions and 20 deletions
|
|
@ -314,13 +314,14 @@ restconf_pseudo_process_control(clicon_handle h)
|
|||
if (clixon_process_register(h, RESTCONF_PROCESS,
|
||||
"Clixon RESTCONF process",
|
||||
NULL /* XXX network namespace */,
|
||||
-1,
|
||||
restconf_rpc_wrapper,
|
||||
argv, nr) < 0)
|
||||
goto done;
|
||||
if (argv != NULL)
|
||||
free(argv);
|
||||
retval = 0;
|
||||
done:
|
||||
if (argv != NULL)
|
||||
free(argv);
|
||||
if (cb)
|
||||
cbuf_free(cb);
|
||||
return retval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue