* Added valgrind memory leak tests in testmem.sh for restconf

* Added clicon_socket_set() and clicon_socket_get() functions for cleaning up backend server and restconf FCGI socket on termination.
* Removed obsolete `-x` command-line option to clixon_cli.
This commit is contained in:
Olof Hagsand 2019-02-20 13:05:31 +01:00
parent 28bd698968
commit 6e63f0a77b
29 changed files with 193 additions and 131 deletions

View file

@ -198,4 +198,8 @@ int clicon_xmldb_handle_set(clicon_handle h, void *xh);
char *clicon_username_get(clicon_handle h);
int clicon_username_set(clicon_handle h, void *username);
/* Set and get socket fd (ie backend server socket / restconf fcgx socket */
int clicon_socket_get(clicon_handle h);
int clicon_socket_set(clicon_handle h, int s);
#endif /* _CLIXON_OPTIONS_H_ */