On 12/23/2011 05:11 AM, Fritz Elfert wrote: > Hi guys. me again ;) > > Here's a patch to expose the line number from reading the known_hosts file. > With this applied, you now can write something like this (like openssh): > [...] Just forgot to mention: This patch changes the API in an incompatible way. If that's undesired, I probably can come up with a some wrapper macro named libssh2_knownhost_readline (renaming libssh2_knownhost_readline to libssh2_knownhost_readline_ex). Not shure, what to do about the added int in struct libssh2_knownhost though...
Cheers -Fritz _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel