summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-28 23:24:30 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-28 23:24:30 +0800
commit125a970d71d5b43b7b648412fcc614e782c42a1d (patch)
tree8bbc278b055fd573a9d40ba171d9031626551371 /session.h
parent59bb1777be18b8f1b263aaeabe54a32933fc871d (diff)
parent89c0b2a6d863e54bd0253355146f09b92edeccda (diff)
merge tcp fastopen
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/session.h b/session.h
index 189e335..85dba3b 100644
--- a/session.h
+++ b/session.h
@@ -38,6 +38,7 @@
#include "tcpfwd.h"
#include "chansession.h"
#include "dbutil.h"
+#include "netio.h"
extern int sessinitdone; /* Is set to 0 somewhere */
extern int exitflag;
@@ -60,7 +61,8 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_N
void svr_dropbear_log(int priority, const char* format, va_list param);
/* Client */
-void cli_session(int sock_in, int sock_out) ATTRIB_NORETURN;
+void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) ATTRIB_NORETURN;
+void cli_connected(int result, int sock, void* userdata, const char *errstring);
void cleantext(unsigned char* dirtytext);
/* crypto parameters that are stored individually for transmit and receive */
@@ -144,6 +146,8 @@ struct sshsession {
int signal_pipe[2]; /* stores endpoints of a self-pipe used for
race-free signal handling */
+
+ m_list conn_pending;
/* time of the last packet send/receive, for keepalive. Not real-world clock */
time_t last_packet_time_keepalive_sent;