1libssh2_init(3) libssh2 manual libssh2_init(3)
2
3
4
6 libssh2_init - global library initialization
7
9 #include <libssh2.h>
10
11 #define LIBSSH2_INIT_NO_CRYPTO 0x0001
12
13 int libssh2_init(int flags);
14
16 Initialize the libssh2 functions. This typically initialize the crypto
17 library. It uses a global state, and is not thread safe -- you must
18 make sure this function is not called concurrently.
19
21 Returns 0 if succeeded, or a negative value for error.
22
24 Added in libssh2 1.2.5
25
27 libssh2_exit(3)
28
29
30
31libssh2 1.2.5 19 Mar 2010 libssh2_init(3)