misc: Added multiplatform ssh_getpass() fuction.

This commit is contained in:
Andreas Schneider
2011-01-23 20:08:17 +01:00
parent 8abdaa7abf
commit 50a119dd0a
3 changed files with 269 additions and 0 deletions

View File

@@ -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