aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-05-16 13:20:27 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-12 10:17:54 +0200
commit79f0c38fbd767f578d7b87fae15fb64faad32aab (patch)
treebf55ea6ee92189543bd23fa2b2d0b1bbb049bc56 /include
parent07faf95a105721422212c1a3216aba218cb94cd9 (diff)
downloadlibssh-79f0c38fbd767f578d7b87fae15fb64faad32aab.tar.gz
libssh-79f0c38fbd767f578d7b87fae15fb64faad32aab.tar.xz
libssh-79f0c38fbd767f578d7b87fae15fb64faad32aab.zip
options: Allow avoiding system-wide configuration
The added option SSH_BIND_OPTIONS_PROCESS_CONFIG allows to skip processing the system-wide configuration file. The global configuration file is processed automatically if this option is not set as false. This option will only be effective if set before any call to ssh_bind_options_parse_config(). Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 29a5565e..41f89d5c 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -55,6 +55,7 @@ enum ssh_bind_options_e {
SSH_BIND_OPTIONS_CONFIG_DIR,
SSH_BIND_OPTIONS_PUBKEY_ACCEPTED_KEY_TYPES,
SSH_BIND_OPTIONS_HOSTKEY_ALGORITHMS,
+ SSH_BIND_OPTIONS_PROCESS_CONFIG,
};
typedef struct ssh_bind_struct* ssh_bind;