aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/options.h')
-rw-r--r--include/libssh/options.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/libssh/options.h b/include/libssh/options.h
index 5b1cb9f0..9050d3be 100644
--- a/include/libssh/options.h
+++ b/include/libssh/options.h
@@ -21,10 +21,20 @@
#ifndef _OPTIONS_H
#define _OPTIONS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int ssh_config_parse_file(ssh_session session, const char *filename);
+int ssh_config_parse_string(ssh_session session, const char *input);
int ssh_options_set_algo(ssh_session session,
enum ssh_kex_types_e algo,
- const char *list);
+ const char *list,
+ char **place);
int ssh_options_apply(ssh_session session);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _OPTIONS_H */