diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 10:09:23 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 10:09:23 +0000 |
commit | a9ef024f1045f696e424c77d7bbde8ce324916ac (patch) | |
tree | 664f5750fb4127507dffe3e23d136d01cea047af /include/libssh | |
parent | 595a5d9ff2e53e96ecb3ee5797e35345b627c258 (diff) | |
download | libssh-a9ef024f1045f696e424c77d7bbde8ce324916ac.tar.gz libssh-a9ef024f1045f696e424c77d7bbde8ce324916ac.tar.xz libssh-a9ef024f1045f696e424c77d7bbde8ce324916ac.zip |
Make ssh_options_free() public.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@346 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/libssh.h | 1 | ||||
-rw-r--r-- | include/libssh/priv.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index d6d02df..629a0df 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -306,6 +306,7 @@ typedef int (*ssh_auth_callback) (const char *prompt, char *buf, size_t len, 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); void ssh_options_set_port(SSH_OPTIONS *opt, unsigned int port); diff --git a/include/libssh/priv.h b/include/libssh/priv.h index ad380e8..e4b5e6c 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -606,7 +606,6 @@ CHANNEL *ssh_channel_from_local(SSH_SESSION *session,u32 num); /* options.c */ -void ssh_options_free(SSH_OPTIONS *opt); /* this function must be called when no specific username has been asked. it has to guess it */ int ssh_options_default_username(SSH_OPTIONS *opt); int ssh_options_default_ssh_dir(SSH_OPTIONS *opt); |