1libssh2_init(3)                     libssh2                    libssh2_init(3)
2
3
4

NAME

6       libssh2_init - global library initialization
7

SYNOPSIS

9       #include <libssh2.h>
10
11       #define LIBSSH2_INIT_NO_CRYPTO 0x0001
12
13       int
14       libssh2_init(int flags);
15

DESCRIPTION

17       Initialize the libssh2 functions.  This typically initialize the crypto
18       library.  It uses a global state, and is not thread safe  --  you  must
19       make sure this function is not called concurrently.
20

RETURN VALUE

22       Returns 0 if succeeded, or a negative value for error.
23

AVAILABILITY

25       Added in libssh2 1.2.5
26

SEE ALSO

28       libssh2_exit(3)
29
30
31
32libssh2                           19 Mar 2010                  libssh2_init(3)
Impressum