1libssh2_knownhost_init(3)           libssh2          libssh2_knownhost_init(3)
2
3
4

NAME

6       libssh2_knownhost_init - init a collection of known hosts
7

SYNOPSIS

9       #include <libssh2.h>
10
11       LIBSSH2_KNOWNHOSTS *
12       libssh2_knownhost_init(LIBSSH2_SESSION *session);
13

DESCRIPTION

15       Init  a  collection of known hosts for this session. Returns the handle
16       to an internal representation of a known host collection.
17
18       Call libssh2_knownhost_free(3) to free the collection again  after  you
19       are doing using it.
20

RETURN VALUE

22       Returns  a handle pointer or NULL if something went wrong. The returned
23       handle is used as input to all other known host related functions  lib‐
24       ssh2 provides.
25

AVAILABILITY

27       Added in libssh2 1.2
28

SEE ALSO

30       libssh2_knownhost_free(3)    libssh2_knownhost_add(3)    libssh2_known‐
31       host_check(3)
32
33
34
35libssh2                           28 May 2009        libssh2_knownhost_init(3)
Impressum