comparison session.h @ 1219:84cf9062718d coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 22:24:34 +0800
parents d058e15ea213
children 9169e4e7cbee
comparison
equal deleted inserted replaced
1196:a29559086628 1219:84cf9062718d
59 void svr_session(int sock, int childpipe) ATTRIB_NORETURN; 59 void svr_session(int sock, int childpipe) ATTRIB_NORETURN;
60 void svr_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_NORETURN; 60 void svr_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_NORETURN;
61 void svr_dropbear_log(int priority, const char* format, va_list param); 61 void svr_dropbear_log(int priority, const char* format, va_list param);
62 62
63 /* Client */ 63 /* Client */
64 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) ATTRIB_NORETURN; 64 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress, pid_t proxy_cmd_pid) ATTRIB_NORETURN;
65 void cli_connected(int result, int sock, void* userdata, const char *errstring); 65 void cli_connected(int result, int sock, void* userdata, const char *errstring);
66 void cleantext(char* dirtytext); 66 void cleantext(char* dirtytext);
67 void kill_proxy_command();
67 68
68 /* crypto parameters that are stored individually for transmit and receive */ 69 /* crypto parameters that are stored individually for transmit and receive */
69 struct key_context_directional { 70 struct key_context_directional {
70 const struct dropbear_cipher *algo_crypt; 71 const struct dropbear_cipher *algo_crypt;
71 const struct dropbear_cipher_mode *crypt_mode; 72 const struct dropbear_cipher_mode *crypt_mode;
302 #if 0 303 #if 0
303 TODO 304 TODO
304 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ 305 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */
305 #endif 306 #endif
306 307
308 pid_t proxy_cmd_pid;
307 }; 309 };
308 310
309 /* Global structs storing the state */ 311 /* Global structs storing the state */
310 extern struct sshsession ses; 312 extern struct sshsession ses;
311 313