Terminating active cli session from action

i wanted to know is there any api provided which can be used to send logout message to confd from cli session?


You can take a look at the following set of MAAPI calls:

int maapi_kill_user_session(int sock, int usessid);

int maapi_get_user_sessions(int sock, int res[], int n);

int maapi_get_user_session(int sock, int usessid, struct confd_user_info* us);

Description of the above API calls can be found under the confd_lib_maapi section in Volume 3 of the ConfD man-pages.