summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/session.h b/session.h
index bf6adb3..349c00f 100644
--- a/session.h
+++ b/session.h
@@ -152,6 +152,7 @@ struct sshsession {
/* Channel related */
struct Channel ** channels; /* these pointers may be null */
unsigned int chansize; /* the number of Channel*s allocated for channels */
+ unsigned int chancount; /* the number of Channel*s in use */
const struct ChanType **chantypes; /* The valid channel types */
@@ -194,6 +195,8 @@ typedef enum {
USERAUTH_METHODS_SENT,
USERAUTH_REQ_SENT,
USERAUTH_FAIL_RCVD,
+ USERAUTH_SUCCESS_RCVD,
+ SESSION_RUNNING,
} cli_state;