diff options
Diffstat (limited to 'include/libssh')
| -rw-r--r-- | include/libssh/libssh.h | 1 | ||||
| -rw-r--r-- | include/libssh/priv.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 3ab9b494..7e4a99d4 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -401,6 +401,7 @@ LIBSSH_API int ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsak LIBSSH_API int ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, const char *rsakey); LIBSSH_API int ssh_options_set_auth_callback(SSH_OPTIONS *opt, ssh_auth_callback cb, void *userdata); +LIBSSH_API int ssh_options_parse_config(SSH_OPTIONS *opt, const char *filename); /* buffer.c */ diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 1318cb08..f24102ff 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -634,6 +634,9 @@ void ssh_cleanup(SSH_SESSION *session); int ssh_send_banner(SSH_SESSION *session, int is_server); char *ssh_get_banner(SSH_SESSION *session); +/* config.c */ +int ssh_config_parse_file(ssh_options opt, const char *filename); + /* errors.c */ void ssh_set_error(void *error, int code, const char *descr, ...) PRINTF_ATTRIBUTE(3, 4); |
