table of contents
libssh2_knownhost_writeline(3) | libssh2 manual | libssh2_knownhost_writeline(3) |
NAME¶
libssh2_knownhost_writeline - convert a known host to a line for storageSYNOPSIS¶
#include <libssh2.h>struct libssh2_knownhost *known,
char *buffer, size_t buflen,
size_t *outlen,
int type);
DESCRIPTION¶
Converts a single known host to a single line of output for storage, using the 'type' output format.RETURN VALUE¶
Returns a regular libssh2 error code, where negative values are error codes and 0 indicates success.AVAILABILITY¶
Added in libssh2 1.2SEE ALSO¶
libssh2_knownhost_get(3) libssh2_knownhost_readline(3) libssh2_knownhost_writefile(3)28 May 2009 | libssh2 1.2 |