Mercurial > dropbear
comparison session.h @ 742:cd201dc2da9a kexguess
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 31 Mar 2013 00:41:15 +0800 |
parents | eafdf8b363f5 78eda530c000 |
children | 09c5eb71ec96 |
comparison
equal
deleted
inserted
replaced
741:eafdf8b363f5 | 742:cd201dc2da9a |
---|---|
43 extern int exitflag; | 43 extern int exitflag; |
44 | 44 |
45 void common_session_init(int sock_in, int sock_out); | 45 void common_session_init(int sock_in, int sock_out); |
46 void session_loop(void(*loophandler)()); | 46 void session_loop(void(*loophandler)()); |
47 void common_session_cleanup(); | 47 void common_session_cleanup(); |
48 void session_identification(); | 48 void send_session_identification(); |
49 void send_msg_ignore(); | 49 void send_msg_ignore(); |
50 | 50 |
51 const char* get_user_shell(); | 51 const char* get_user_shell(); |
52 void fill_passwd(const char* username); | 52 void fill_passwd(const char* username); |
53 | 53 |
109 respecting AUTH_TIMEOUT any more) */ | 109 respecting AUTH_TIMEOUT any more) */ |
110 | 110 |
111 int sock_in; | 111 int sock_in; |
112 int sock_out; | 112 int sock_out; |
113 | 113 |
114 unsigned char *remoteident; | 114 /* remotehost will be initially NULL as we delay |
115 * reading the remote version string. it will be set | |
116 * by the time any recv_() packet methods are called */ | |
117 unsigned char *remoteident; | |
115 | 118 |
116 int maxfd; /* the maximum file descriptor to check with select() */ | 119 int maxfd; /* the maximum file descriptor to check with select() */ |
117 | 120 |
118 | 121 |
119 /* Packet buffers/values etc */ | 122 /* Packet buffers/values etc */ |