aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-01-23 20:08:17 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-01-24 13:55:05 +0100
commit50a119dd0ac55763f965ba1660c132c2f58ed167 (patch)
treeb698203a7da30551f0a6fe44c76bdfe66fb81097 /include/libssh
parent8abdaa7abf64b67ac6ca04e2d5fee84ebec47691 (diff)
downloadlibssh-50a119dd0ac55763f965ba1660c132c2f58ed167.tar.gz
libssh-50a119dd0ac55763f965ba1660c132c2f58ed167.tar.xz
libssh-50a119dd0ac55763f965ba1660c132c2f58ed167.zip
misc: Added multiplatform ssh_getpass() fuction.
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 2dbdb7eb..93d6dba6 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -468,6 +468,9 @@ LIBSSH_API ssh_string ssh_string_new(size_t size);
LIBSSH_API char *ssh_string_to_char(ssh_string str);
LIBSSH_API void ssh_string_free_char(char *s);
+LIBSSH_API int ssh_getpass(const char *prompt, char *buf, size_t len, int echo,
+ int verify);
+
#ifndef LIBSSH_LEGACY_0_4
#include "libssh/legacy.h"
#endif