summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/priv.h1
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);