1libssh2_knownhost_del(3) libssh2 manual libssh2_knownhost_del(3)
2
3
4
6 libssh2_knownhost_del - delete a known host entry
7
9 #include <libssh2.h>
10
11 int libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
12 struct libssh2_knownhost *entry);
13
15 Delete a known host entry from the collection of known hosts.
16
17 entry is a pointer to a struct that you can extract with libssh2_known‐
18 host_check(3) or libssh2_knownhost_get(3).
19
21 Returns a regular libssh2 error code, where negative values are error
22 codes and 0 indicates success.
23
25 Added in libssh2 1.2
26
28 libssh2_knownhost_init(3) libssh2_knownhost_free(3) libssh2_known‐
29 host_add(3) libssh2_knownhost_check(3)
30
31
32
33libssh2 1.2 28 May 2009 libssh2_knownhost_del(3)