[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using ssh_bind_set_callbacks
[Thread Prev] | [Thread Next]
- Subject: Re: Using ssh_bind_set_callbacks
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 15 Jul 2015 23:20:01 +0200
- To: libssh@xxxxxxxxxx
It is totally possible that the library misses some glue to integrate ssh_binds in the event model. The last users who needed something similar used a forked or a threading model. I also think some callbacks are defined but not really implemented. I will have a look asap, that requires a fix. Aris Le 15/07/15 23:13, Andreas Schneider a écrit : > On Wednesday 15 July 2015 16:25:36 Phil Lello wrote: >> Hi all, >> >> I'm currently developing my first server with libssh, but am a little >> uncertain as the the use of ssh_bind_set_callbacks - there doesn't seem to >> be a call to add the bind to ssh_event.... > That's a really good questions. It looks like the API is not complete. > > We have a ssh_bind_get_poll() function isn't called by anything so the > callback can't be triggered at all. Go with this example ... > > https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c >
Re: Using ssh_bind_set_callbacks | Игорь Коваленко <igor.a.kovalenko@xxxxxxxxx> |
Using ssh_bind_set_callbacks | Phil Lello <phil@xxxxxxxxxxxxxxx> |
Re: Using ssh_bind_set_callbacks | Andreas Schneider <asn@xxxxxxxxxxxxxx> |