[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ssh_bind_set_callbacks


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

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Follow-Ups:
Re: Using ssh_bind_set_callbacksAris Adamantiadis <aris@xxxxxxxxxxxx>
References:
Using ssh_bind_set_callbacksPhil Lello <phil@xxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org