On Thu, 1 Mar 2012, Mitchell Hashimoto wrote:

Instead, I believe it would be nice to do something like the following:

int libssh2_session_ready_channels(LIBSSH2_SESSION *, LIBSSH2_CHANNEL **)

(just quickly popping in while still away on vacation)

This looks like a way I would prefer (since it would avoid callbacks and it would allow users to a large extent keep using the existing API). Possibly it could be made to return more than one channel so that the application can select in which order to handle them.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to