jpayne@68: .TH libssh2_init 3 "19 Mar 2010" "libssh2 1.2.5" "libssh2 manual" jpayne@68: .SH NAME jpayne@68: libssh2_init - global library initialization jpayne@68: .SH SYNOPSIS jpayne@68: #include jpayne@68: jpayne@68: #define LIBSSH2_INIT_NO_CRYPTO 0x0001 jpayne@68: jpayne@68: int jpayne@68: libssh2_init(int flags); jpayne@68: .SH DESCRIPTION jpayne@68: Initialize the libssh2 functions. This typically initialize the jpayne@68: crypto library. It uses a global state, and is not thread safe -- you jpayne@68: must make sure this function is not called concurrently. jpayne@68: .SH RETURN VALUE jpayne@68: Returns 0 if succeeded, or a negative value for error. jpayne@68: .SH AVAILABILITY jpayne@68: Added in libssh2 1.2.5 jpayne@68: .SH SEE ALSO jpayne@68: .BR libssh2_exit(3)