On Tue, 3 Nov 2009, Dave McCaldon wrote:
Attached is a git patch that implements libssh2_trace_sethandler(), which allows trace output to be captured by an application provided callback that libssh2_trace() and debugdump() will call instead of the default of always writing to stderr.
One initial comment: apps will want a custom pointer passed in to the callback as well so that they can pass local/private data to the callback without using globals. Won't that be suitable to also set with the function and pass in as a paramter to the callback?
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
