diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-30 22:38:09 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-30 22:38:09 +0200 |
commit | f58441f474d9787732a80f07f952b46a08f55954 (patch) | |
tree | 94ed1ff77d50ab60e231ae686521ad01463cde74 /include/libssh/auth.h | |
parent | 0e82cdeadcba8a78c9bb3b508decd6eae6bafd13 (diff) | |
download | libssh-f58441f474d9787732a80f07f952b46a08f55954.tar.gz libssh-f58441f474d9787732a80f07f952b46a08f55954.tar.xz libssh-f58441f474d9787732a80f07f952b46a08f55954.zip |
Moved declarations from auth.h to various headers
Diffstat (limited to 'include/libssh/auth.h')
-rw-r--r-- | include/libssh/auth.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libssh/auth.h b/include/libssh/auth.h index a0f80041..343b3091 100644 --- a/include/libssh/auth.h +++ b/include/libssh/auth.h @@ -32,6 +32,15 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_info_request); #ifdef WITH_SSH1 void ssh_auth1_handler(ssh_session session, uint8_t type); + +/* auth1.c */ +int ssh_userauth1_none(ssh_session session, const char *username); +int ssh_userauth1_offer_pubkey(ssh_session session, const char *username, + int type, ssh_string pubkey); +int ssh_userauth1_password(ssh_session session, const char *username, + const char *password); + + #endif /** @internal |