See the patch attached.
It just exposes _libssh2_error through the API and its immediate
objective is making my life (as the current maintainer of Net::SSH2)
much much much easier.
But actually, this function may be useful to anybody building new
features on top of the library and obviously for other wrapping modules.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel