summaryrefslogtreecommitdiffstats
path: root/include/libssh/legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/legacy.h')
-rw-r--r--include/libssh/legacy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/legacy.h b/include/libssh/legacy.h
index c8225a2..db151f8 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -38,6 +38,8 @@ LIBSSH_API int ssh_userauth_agent_pubkey(ssh_session session, const char *userna
ssh_public_key publickey);
#endif
LIBSSH_API int ssh_userauth_autopubkey(ssh_session session, const char *passphrase);
+LIBSSH_API int ssh_userauth_privatekey_file(ssh_session session, const char *username,
+ const char *filename, const char *passphrase);
LIBSSH_API void buffer_free(ssh_buffer buffer);
LIBSSH_API void *buffer_get(ssh_buffer buffer);