1libssh2_knownhost_init(3)       libssh2 manual       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 *libssh2_knownhost_init(LIBSSH2_SESSION *session);
12

DESCRIPTION

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

RETURN VALUE

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

AVAILABILITY

26       Added in libssh2 1.2
27

SEE ALSO

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