Mercurial > dropbear
diff session.h @ 1208:fb58cf341951
Client: kill proxy command when exiting application.
author | Konstantin Tokarev <ktokarev@smartlabs.tv> |
---|---|
date | Thu, 03 Dec 2015 16:22:29 +0300 |
parents | 80b45616e1f3 |
children | d058e15ea213 |
line wrap: on
line diff
--- a/session.h Mon Nov 30 21:13:03 2015 +0800 +++ b/session.h Thu Dec 03 16:22:29 2015 +0300 @@ -61,9 +61,10 @@ void svr_dropbear_log(int priority, const char* format, va_list param); /* Client */ -void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) ATTRIB_NORETURN; +void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress, pid_t proxy_cmd_pid) ATTRIB_NORETURN; void cli_connected(int result, int sock, void* userdata, const char *errstring); void cleantext(char* dirtytext); +void kill_proxy_command(); /* crypto parameters that are stored individually for transmit and receive */ struct key_context_directional { @@ -304,6 +305,7 @@ struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ #endif + int proxy_cmd_pid; }; /* Global structs storing the state */