Moved callbacks starting programs from libclixon_cli to example code

The functions are: `cli_start_shell` and `cli_start_program`
If you need them, add them to your application plugin code instead
This commit is contained in:
Olof hagsand 2024-12-10 10:35:19 +01:00
parent 2790d243e1
commit b1d969e42b
4 changed files with 86 additions and 225 deletions

View file

@ -80,11 +80,12 @@ cligen_handle cli_cligen(clixon_handle h);
int cli_notification_register(clixon_handle h, char *stream, enum format_enum format,
char *filter, int status,
int (*fn)(int, void*), void *arg);
void cli_signal_block(clixon_handle h);
void cli_signal_unblock(clixon_handle h);
void cli_signal_flush(clixon_handle h);
int mtpoint_paths(yang_stmt *yspec0, char *mtpoint, char *api_path_fmt1, char **api_path_fmt01);
int dbxml_body(cxobj *xbot, cvec *cvv);
int identityref_add_ns(cxobj *x, void *arg);
int cli_dbxml(clixon_handle h, cvec *vars, cvec *argv, enum operation_type op, cvec *nsctx);
int cli_set(clixon_handle h, cvec *vars, cvec *argv);
int cli_merge(clixon_handle h, cvec *vars, cvec *argv);