aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorStanislav Zidek <szidek@redhat.com>2020-10-31 21:53:34 +0100
committerAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2020-11-03 18:23:47 +0100
commitb25feb3386a1435d78d3918742cff1df291cfcdb (patch)
tree7b159e602fda4df128e5dde6774293699e8bd320 /include/libssh
parent635edc8adbbd5441cf070ae92ac448ae2c58293b (diff)
downloadlibssh-b25feb3386a1435d78d3918742cff1df291cfcdb.tar.gz
libssh-b25feb3386a1435d78d3918742cff1df291cfcdb.tar.xz
libssh-b25feb3386a1435d78d3918742cff1df291cfcdb.zip
New API for parsing configuration from string
Fixes T248 Signed-off-by: Stanislav Zidek <szidek@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/options.h b/include/libssh/options.h
index 5b1cb9f0..e8dc6c69 100644
--- a/include/libssh/options.h
+++ b/include/libssh/options.h
@@ -22,6 +22,7 @@
#define _OPTIONS_H
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);