diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-19 23:51:07 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-19 23:51:32 +0200 |
commit | 8e2699e16139c8efdc54a06471de29966ccc233a (patch) | |
tree | 17e515f791fa431d6c9b7726e530786691c07156 /include/libssh/priv.h | |
parent | 01eb20e13f0c7be95a58a1022e214df269168281 (diff) | |
download | libssh-8e2699e16139c8efdc54a06471de29966ccc233a.tar.gz libssh-8e2699e16139c8efdc54a06471de29966ccc233a.tar.xz libssh-8e2699e16139c8efdc54a06471de29966ccc233a.zip |
start of work to have callbackbased ssh_bind
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index a35aa090..4d00a0cb 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -147,7 +147,10 @@ struct ssh_bind_struct { struct error_struct error; ssh_callbacks callbacks; /* Callbacks to user functions */ + struct ssh_bind_callbacks_struct *bind_callbacks; + void *bind_callbacks_userdata; + struct ssh_poll_handle_struct *poll; /* options */ char *wanted_methods[10]; char *banner; @@ -162,6 +165,9 @@ struct ssh_bind_struct { int toaccept; }; +struct ssh_poll_handle_struct *ssh_bind_get_poll(struct ssh_bind_struct + *sshbind); + SSH_PACKET_CALLBACK(ssh_packet_disconnect_callback); SSH_PACKET_CALLBACK(ssh_packet_ignore_callback); |