summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libssh/legacy.h2
-rw-r--r--include/libssh/libssh.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/legacy.h b/include/libssh/legacy.h
index 95d74fc..80b8fac 100644
--- a/include/libssh/legacy.h
+++ b/include/libssh/legacy.h
@@ -30,6 +30,8 @@
#ifndef LEGACY_H_
#define LEGACY_H_
+LIBSSH_API int ssh_auth_list(ssh_session session);
+
LIBSSH_API void buffer_free(ssh_buffer buffer);
LIBSSH_API void *buffer_get(ssh_buffer buffer);
LIBSSH_API uint32_t buffer_get_len(ssh_buffer buffer);
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 638cb48..a5ea961 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -367,7 +367,6 @@ LIBSSH_API uint32_t ssh_channel_window_size(ssh_channel channel);
LIBSSH_API int ssh_try_publickey_from_file(ssh_session session, const char *keyfile,
ssh_string *publickey, int *type);
-LIBSSH_API int ssh_auth_list(ssh_session session);
LIBSSH_API char *ssh_basename (const char *path);
LIBSSH_API void ssh_clean_pubkey_hash(unsigned char **hash);
LIBSSH_API int ssh_connect(ssh_session session);