summaryrefslogtreecommitdiffstats
path: root/include/libssh/bind.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-07-19 22:16:28 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-07-19 22:16:28 +0200
commitda954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9 (patch)
treeb13cc18e78ff7a0549974b4823678f189fe82b6a /include/libssh/bind.h
parentdc9ac022f5590272cc7a3dc18726802ffdc73c8f (diff)
downloadlibssh-da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9.tar.gz
libssh-da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9.tar.xz
libssh-da954c2c5ee85bcbe2f5ad9f507a6306b0f5f8b9.zip
Fixes the ssh_log issue on ssh_bind handles.
Diffstat (limited to 'include/libssh/bind.h')
-rw-r--r--include/libssh/bind.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/libssh/bind.h b/include/libssh/bind.h
index 705d275..ef3a0e8 100644
--- a/include/libssh/bind.h
+++ b/include/libssh/bind.h
@@ -23,11 +23,10 @@
#define BIND_H_
#include "libssh/priv.h"
+#include "libssh/session.h"
struct ssh_bind_struct {
- struct error_struct error;
-
- ssh_callbacks callbacks; /* Callbacks to user functions */
+ struct ssh_common_struct common; /* stuff common to ssh_bind and ssh_session */
struct ssh_bind_callbacks_struct *bind_callbacks;
void *bind_callbacks_userdata;
@@ -40,8 +39,6 @@ struct ssh_bind_struct {
char *bindaddr;
socket_t bindfd;
unsigned int bindport;
- unsigned int log_verbosity;
-
int blocking;
int toaccept;
};