aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/legacy.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-23 19:01:22 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-23 21:54:02 +0200
commitaa018c1484ce053bf88dbe066988b5e39a2c0317 (patch)
treee33235f8ab9ea59af7d361a3655a1e5ea2f81aeb /include/libssh/legacy.h
parent37df5e17c310c438eefaf5150bad55ad12a7d64f (diff)
downloadlibssh-aa018c1484ce053bf88dbe066988b5e39a2c0317.tar.gz
libssh-aa018c1484ce053bf88dbe066988b5e39a2c0317.tar.xz
libssh-aa018c1484ce053bf88dbe066988b5e39a2c0317.zip
auth: Make ssh_userauth_try_publickey() legacy.
Diffstat (limited to 'include/libssh/legacy.h')
-rw-r--r--include/libssh/legacy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/legacy.h b/include/libssh/legacy.h
index 80b8fac6..1905e89d 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -31,6 +31,7 @@
#ifndef LEGACY_H_
#define LEGACY_H_
LIBSSH_API int ssh_auth_list(ssh_session session);
+LIBSSH_API int ssh_userauth_offer_pubkey(ssh_session session, const char *username, int type, ssh_string publickey);
LIBSSH_API void buffer_free(ssh_buffer buffer);
LIBSSH_API void *buffer_get(ssh_buffer buffer);