summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
commit974a160fd31c10852e9bb811d14a33cff1bae7c4 (patch)
tree4bda1914a6a8f141a4faf57014cf54a868a0c0f2 /include/libssh/libssh.h
parent5e03a95a937c8c64e4bfab8f796d88a4168857bd (diff)
downloadlibssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.gz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.xz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.zip
Fix several build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@214 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index de90833..2aeec5a 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -271,7 +271,7 @@ SSH_SESSION *channel_get_session(CHANNEL *channel);
typedef int (*ssh_auth_callback) (const char *prompt, char *buf, size_t len,
int echo, int verify, void *userdata);
-SSH_OPTIONS *ssh_options_new();
+SSH_OPTIONS *ssh_options_new(void);
SSH_OPTIONS *ssh_options_copy(SSH_OPTIONS *opt);
int ssh_options_set_wanted_algos(SSH_OPTIONS *opt, int algo, const char *list);
void ssh_options_set_username(SSH_OPTIONS *opt, const char *username);
@@ -290,6 +290,7 @@ void ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow);
void ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow);
void ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsakey);
void ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, const char *rsakey);
+void ssh_options_set_banner(SSH_OPTIONS *opt, const char *banner);
void ssh_options_set_log_function(SSH_OPTIONS *opt,
void (*callback)(const char *message, SSH_SESSION *session, int verbosity ));
void ssh_options_set_log_verbosity(SSH_OPTIONS *opt, int verbosity);
@@ -339,8 +340,9 @@ void ssh_userauth_kbdint_setanswer(SSH_SESSION *session, unsigned int i, const c
/* init.c */
-int ssh_finalize();
+int ssh_finalize(void);
+
#ifdef __cplusplus
-}
+}
#endif
#endif /* _LIBSSH_H */