aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-10-02 14:06:41 +0200
committerAndreas Schneider <mail@cynapses.org>2009-10-02 20:26:14 +0200
commitab5b4c7cfe668ee4103de146c2a739532abfc416 (patch)
treeec30d19a18400dbfa0f94bf90262d2c439c724aa /include/libssh/priv.h
parente78334688fa510a5c859b0367d4d4779efae518a (diff)
downloadlibssh-ab5b4c7cfe668ee4103de146c2a739532abfc416.tar.gz
libssh-ab5b4c7cfe668ee4103de146c2a739532abfc416.tar.xz
libssh-ab5b4c7cfe668ee4103de146c2a739532abfc416.zip
Get rid of the options structure.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index a9da5a5c..8dbf9a3f 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -95,11 +95,21 @@ struct ssh_message_struct;
/* server data */
struct ssh_bind_struct {
- struct error_struct error;
- socket_t bindfd;
- ssh_options options;
- int blocking;
- int toaccept;
+ struct error_struct error;
+
+ ssh_callbacks callbacks; /* Callbacks to user functions */
+
+ /* options */
+ char *wanted_methods[10];
+ char *banner;
+ char *dsakey;
+ char *rsakey;
+ char *bindaddr;
+ socket_t bindfd;
+ unsigned int bindport;
+
+ int blocking;
+ int toaccept;
};