summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-31 00:41:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-31 00:41:15 +0800
commit32294978a32d666f771c5df324820c43bb733f55 (patch)
treed47cd7da09405c2fb0f6098d0545c52056f4a6e4 /session.h
parent9c7485331a581d1ff32f9caf005e7b13fa1c051e (diff)
parenta0e931005b6f9de407ba2ac5b5df9e34d4a7fb7e (diff)
merge
--HG-- branch : kexguess
Diffstat (limited to 'session.h')
-rw-r--r--session.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/session.h b/session.h
index 8e71bdc..4d2e973 100644
--- a/session.h
+++ b/session.h
@@ -45,7 +45,7 @@ extern int exitflag;
void common_session_init(int sock_in, int sock_out);
void session_loop(void(*loophandler)());
void common_session_cleanup();
-void session_identification();
+void send_session_identification();
void send_msg_ignore();
const char* get_user_shell();
@@ -111,7 +111,10 @@ struct sshsession {
int sock_in;
int sock_out;
- unsigned char *remoteident;
+ /* remotehost will be initially NULL as we delay
+ * reading the remote version string. it will be set
+ * by the time any recv_() packet methods are called */
+ unsigned char *remoteident;
int maxfd; /* the maximum file descriptor to check with select() */