summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 11:56:13 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 11:56:13 +0000
commit4373fc64e345a994d2a207ddc7f1a11859ec7176 (patch)
tree777204c3a234a7947e7febb18a51420d573832ca /include/libssh/libssh.h
parentb6fbe97f24f8f8cffdb467f90a2c42d0f36cedfb (diff)
downloadlibssh-4373fc64e345a994d2a207ddc7f1a11859ec7176.tar.gz
libssh-4373fc64e345a994d2a207ddc7f1a11859ec7176.tar.xz
libssh-4373fc64e345a994d2a207ddc7f1a11859ec7176.zip
Improve ssh_options_set_bind().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@353 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 33c72c94..ee14ef28 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -313,7 +313,7 @@ int ssh_options_set_port(SSH_OPTIONS *opt, unsigned int port);
int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv);
int ssh_options_set_host(SSH_OPTIONS *opt, const char *host);
int ssh_options_set_fd(SSH_OPTIONS *opt, socket_t fd);
-void ssh_options_set_bind(SSH_OPTIONS *opt, const char *bindaddr, int port);
+int ssh_options_set_bind(SSH_OPTIONS *opt, const char *bindaddr, int port);
void ssh_options_set_identity(SSH_OPTIONS *opt, const char *identity);
void ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback)
(void *arg, float status), void *arg);