aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 1def7d45..c080762b 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -291,6 +291,8 @@ struct ssh_session {
/* server host keys */
PRIVATE_KEY *rsa_key;
PRIVATE_KEY *dsa_key;
+ /* auths accepted by server */
+ int auth_methods;
int hostkeys; /* contains type of host key wanted by client, in server impl */
};
@@ -389,7 +391,8 @@ void channel_handle(SSH_SESSION *session, int type);
CHANNEL *channel_new(SSH_SESSION *session);
void channel_default_bufferize(CHANNEL *channel, void *data, int len,
int is_stderr);
-
+u32 ssh_channel_new_id(SSH_SESSION *session);
+CHANNEL *ssh_channel_from_local(SSH_SESSION *session,u32 num);
/* options.c */