Hey again,

Thanks to all the feedback from yday, I've now remodeled the file-based parts 
of the API somewhat and the changes are:

Two new functions:

  libssh2_knownhost_readline()

   - tells libssh2 to read a given line, as it if it was from a known hosts
     file. You pass it a pointer to a line and a line length basically.

  libssh2_knownhost_writeline()

   - converts a known host pointer to an output line, suitable for writing to
     a known hosts file. It converts a single known host to a single output
     line.

The two file-based input/output functions are now named:

  libssh2_knownhost_readfile() and libssh2_knownhost_writefile()

The other five functions (init, free, add, get, check) haven't been changed.

All of this is pushed to the git repo.

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to