From 7b7280e728466f2ce9e9faeb840093224ef5d3e3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 15 Oct 2009 17:17:36 +0200 Subject: Added option to set log_verbosity in the server. --- include/libssh/priv.h | 1 + include/libssh/server.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index ec53b5fd..764b0227 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -107,6 +107,7 @@ struct ssh_bind_struct { char *bindaddr; socket_t bindfd; unsigned int bindport; + unsigned int log_verbosity; int blocking; int toaccept; diff --git a/include/libssh/server.h b/include/libssh/server.h index db7d402e..c9cf634e 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -43,7 +43,9 @@ enum ssh_bind_options_e { SSH_BIND_OPTIONS_HOSTKEY, SSH_BIND_OPTIONS_DSAKEY, SSH_BIND_OPTIONS_RSAKEY, - SSH_BIND_OPTIONS_BANNER + SSH_BIND_OPTIONS_BANNER, + SSH_BIND_OPTIONS_LOG_VERBOSITY, + SSH_BIND_OPTIONS_LOG_VERBOSITY_STR }; //typedef struct ssh_bind_struct SSH_BIND; -- cgit