libssh2_init.3 (572B)
1.TH libssh2_init 3 "19 Mar 2010" "libssh2" "libssh2" 2.SH NAME 3libssh2_init - global library initialization 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8#define LIBSSH2_INIT_NO_CRYPTO 0x0001 9 10int 11libssh2_init(int flags); 12.fi 13.SH DESCRIPTION 14Initialize the libssh2 functions. This typically initialize the 15crypto library. It uses a global state, and is not thread safe -- you 16must make sure this function is not called concurrently. 17.SH RETURN VALUE 18Returns 0 if succeeded, or a negative value for error. 19.SH AVAILABILITY 20Added in libssh2 1.2.5 21.SH SEE ALSO 22.BR libssh2_exit(3)