summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 10:18:01 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 10:18:01 +0000
commit8de3dc44ca3dc4285d34925be5a7b4fee8e95408 (patch)
tree3d5f803f4fd54eea41ef32930c6e931045b03cf9 /include/libssh/libssh.h
parentab54736b5d41df8588d3754f6b68e2c4c762413f (diff)
downloadlibssh-8de3dc44ca3dc4285d34925be5a7b4fee8e95408.tar.gz
libssh-8de3dc44ca3dc4285d34925be5a7b4fee8e95408.tar.xz
libssh-8de3dc44ca3dc4285d34925be5a7b4fee8e95408.zip
Improve ssh_options_set_username().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@349 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 20b28683..322b0e00 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -308,7 +308,7 @@ SSH_OPTIONS *ssh_options_new(void);
SSH_OPTIONS *ssh_options_copy(SSH_OPTIONS *opt);
void ssh_options_free(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);
+int ssh_options_set_username(SSH_OPTIONS *opt, const char *username);
void 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);