On Tue, 3 Nov 2009, Dave McCaldon wrote:
I do pass the LIBSSH2_SESSION pointer to allow the user to distinguish
between different sessions, but you're right in that there would need to be
a map from session to user data.
Attached is an update that adds a void* context to the
libssh2_trace_sethandler() mechanism. I'm a bit new to git, so it looks
like it builds on the previous patches. I'm not sure how to coalesce these
into a single "squashed" patch ... if it's not ok in this format, let me
know.
Argh, I messed up and committed the earlier version of your patch just now.
Could you please see if you can make a separate patch aginst current git that
adds this void* context?
Sorry for that.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel