aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 15:01:18 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 15:01:18 +0000
commitfc0928a5721041e70807c33bd16fe852225d97f7 (patch)
tree2ea399a66be24df78aad4f1404b5bb35f0a4ce58 /include
parented53a70854400d64911c94995e28296bd3298525 (diff)
downloadlibssh-fc0928a5721041e70807c33bd16fe852225d97f7.tar.gz
libssh-fc0928a5721041e70807c33bd16fe852225d97f7.tar.xz
libssh-fc0928a5721041e70807c33bd16fe852225d97f7.zip
Fix build warnings of the auth code.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@205 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 5376f02c..406d3d9c 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -317,6 +317,7 @@ int buffer_get_len(BUFFER *buffer);
/* in auth.c */
+int ssh_auth_list(SSH_SESSION *session);
/* these functions returns AUTH_ERROR is some serious error has happened,
AUTH_SUCCESS if success,
AUTH_PARTIAL if partial success,
@@ -331,7 +332,7 @@ int ssh_userauth_kbdint(SSH_SESSION *session, const char *user, const char *subm
int ssh_userauth_kbdint_getnprompts(SSH_SESSION *session);
char *ssh_userauth_kbdint_getname(SSH_SESSION *session);
char *ssh_userauth_kbdint_getinstruction(SSH_SESSION *session);
-char *ssh_userauth_kbdint_getprompt(SSH_SESSION *session, int i, char *echo);
+char *ssh_userauth_kbdint_getprompt(SSH_SESSION *session, unsigned int i, char *echo);
void ssh_userauth_kbdint_setanswer(SSH_SESSION *session, unsigned int i, const char *answer);