Fixed: kill-session cleanup when client none existant, and for all db:s

Added cli_kill_session callback
This commit is contained in:
Olof hagsand 2023-12-22 22:27:54 +01:00
parent 558a0df1f3
commit 7b58c1c562
4 changed files with 48 additions and 11 deletions

View file

@ -109,6 +109,7 @@ int cli_notify(clixon_handle h, cvec *cvv, cvec *argv);
int db_copy(clixon_handle h, cvec *cvv, cvec *argv);
int cli_lock(clixon_handle h, cvec *cvv, cvec *argv);
int cli_unlock(clixon_handle h, cvec *cvv, cvec *argv);
int cli_kill_session(clixon_handle h, cvec *cvv, cvec *argv);
int cli_copy_config(clixon_handle h, cvec *cvv, cvec *argv);
int cli_help(clixon_handle h, cvec *vars, cvec *argv);
cvec *cvec_append(cvec *cvv0, cvec *cvv1);