summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/priv.h1
-rw-r--r--libssh/libssh.vers2
3 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index d6d02dfb..629a0df8 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 ad380e81..e4b5e6cb 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);
diff --git a/libssh/libssh.vers b/libssh/libssh.vers
index ae883990..a6e13daf 100644
--- a/libssh/libssh.vers
+++ b/libssh/libssh.vers
@@ -21,7 +21,7 @@ SSH_0.3 {
channel_send_eof; channel_read; channel_poll; channel_close;
channel_read_nonblocking; channel_is_open;
channel_is_closed; channel_is_eof; channel_select;
- ssh_options_new; ssh_options_copy; ssh_options_set_wanted_algos;
+ ssh_options_new; ssh_options_copy; ssh_options_free; ssh_options_set_wanted_algos;
ssh_options_set_username; ssh_options_set_port; ssh_options_getopt;
ssh_options_set_host; ssh_options_set_fd; ssh_options_set_bind;
ssh_options_set_identity; ssh_options_set_status_callback;