diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-07-20 12:05:00 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-07-20 12:05:00 +0000 |
commit | 62aab2227c2e1aca8e9b807bc203a1d6ecb14daf (patch) | |
tree | d93c18c66b00d60d4dd5d8c1c895c987331c083c /session.h | |
parent | 9c676d0ddd4f5cc5ff271653fc1d8acf92c0d69f (diff) |
switching to global vars
--HG--
extra : convert_revision : 800073097767c2ac153ab834cbcf0121cb765118
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -32,14 +32,13 @@ #include "auth.h" #include "channel.h" #include "queue.h" -#include "runopts.h" #include "listener.h" #include "packet.h" extern int sessinitdone; /* Is set to 0 somewhere */ extern int exitflag; -void common_session_init(int sock, runopts *opts); +void common_session_init(int sock); void common_session_cleanup(); void checktimeouts(); void session_identification(); @@ -47,8 +46,7 @@ void session_identification(); extern void(*session_remoteclosed)(); /* Server */ -void svr_session(int sock, runopts *opts, int childpipe, - struct sockaddr *remoteaddr); +void svr_session(int sock, int childpipe, struct sockaddr *remoteaddr); void svr_dropbear_exit(int exitcode, const char* format, va_list param); void svr_dropbear_log(int priority, const char* format, va_list param); @@ -82,8 +80,6 @@ struct sshsession { /* Is it a client or server? */ unsigned char isserver; - runopts * opts; /* runtime options, incl hostkey, banner etc */ - long connecttimeout; /* time to disconnect if we have a timeout (for userauth etc), or 0 for no timeout */ |