summaryrefslogtreecommitdiff
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-26 13:16:40 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-26 13:16:40 +0000
commit51a74b47995cfe24ef190b7e254f768eb92735f5 (patch)
tree30a6f39236a025b53a33c3893c96e1669e5b7563 /common-session.c
parent2dcd6b22d94755a4f328885f469908c441ac8534 (diff)
downloaddropbear-51a74b47995cfe24ef190b7e254f768eb92735f5.tar.gz
- added circular buffering for channels
- added stderr support for the client - cleaned up a bunch of "unused" warnings, duplicated header definitions - added exit-status support for the client --HG-- extra : convert_revision : 5bdf806d8b440c87f7235414662f4189195618f4
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common-session.c b/common-session.c
index 1888eb7..f220753 100644
--- a/common-session.c
+++ b/common-session.c
@@ -35,6 +35,8 @@
#include "channel.h"
#include "atomicio.h"
+static void checktimeouts();
+static int ident_readln(int fd, char* buf, int count);
struct sshsession ses; /* GLOBAL */
@@ -46,8 +48,6 @@ int sessinitdone = 0; /* GLOBAL */
int exitflag = 0; /* GLOBAL */
-static void checktimeouts();
-static int ident_readln(int fd, char* buf, int count);
/* called only at the start of a session, set up initial state */
void common_session_init(int sock, char* remotehost) {