From ab5b4c7cfe668ee4103de146c2a739532abfc416 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 2 Oct 2009 14:06:41 +0200 Subject: Get rid of the options structure. --- include/libssh/priv.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'include/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index a9da5a5..8dbf9a3 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; }; -- cgit