libssh2_knownhost_free(3) libssh2 manual libssh2_knownhost_free(3)NAMElibssh2_knownhost_free - free a collection of known hosts
SYNOPSIS
#include <libssh2.h>
void libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
DESCRIPTION
Free a collection of known hosts.
RETURN VALUE
Returns a handle pointer or NULL if something went wrong. The returned
handle is used as input to all other known host related functions lib‐
ssh2 provides.
AVAILABILITY
Added in libssh2 1.2
SEE ALSOlibssh2_knownhost_init(3)libssh2_knownhost_add(3) libssh2_known‐
host_check(3)libssh2 1.2 28 May 2009 libssh2_knownhost_free(3)