aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-10-15 17:17:36 +0200
committerAndreas Schneider <mail@cynapses.org>2009-10-15 17:17:36 +0200
commit7b7280e728466f2ce9e9faeb840093224ef5d3e3 (patch)
tree770d42898c9a0e0730d5b7c4d50c9473c2a0b472 /include
parent2523ed0779843e6074717cdcdf8bcaffb4b87ad9 (diff)
downloadlibssh-7b7280e728466f2ce9e9faeb840093224ef5d3e3.tar.gz
libssh-7b7280e728466f2ce9e9faeb840093224ef5d3e3.tar.xz
libssh-7b7280e728466f2ce9e9faeb840093224ef5d3e3.zip
Added option to set log_verbosity in the server.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h1
-rw-r--r--include/libssh/server.h4
2 files changed, 4 insertions, 1 deletions
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;