1libssh2_knownhost_del(3)            libssh2           libssh2_knownhost_del(3)
2
3
4

NAME

6       libssh2_knownhost_del - delete a known host entry
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int
12       libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
13                             struct libssh2_knownhost *entry);
14

DESCRIPTION

16       Delete a known host entry from the collection of known hosts.
17
18       entry is a pointer to a struct that you can extract with libssh2_known‐
19       host_check(3) or libssh2_knownhost_get(3).
20

RETURN VALUE

22       Returns a regular libssh2 error code, where negative values  are  error
23       codes and 0 indicates success.
24

AVAILABILITY

26       Added in libssh2 1.2
27

SEE ALSO

29       libssh2_knownhost_init(3)    libssh2_knownhost_free(3)   libssh2_known‐
30       host_add(3) libssh2_knownhost_check(3)
31
32
33
34libssh2                           28 May 2009         libssh2_knownhost_del(3)
Impressum