Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man3/libssh2_init.3 @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@68 | 1 .TH libssh2_init 3 "19 Mar 2010" "libssh2 1.2.5" "libssh2 manual" |
jpayne@68 | 2 .SH NAME |
jpayne@68 | 3 libssh2_init - global library initialization |
jpayne@68 | 4 .SH SYNOPSIS |
jpayne@68 | 5 #include <libssh2.h> |
jpayne@68 | 6 |
jpayne@68 | 7 #define LIBSSH2_INIT_NO_CRYPTO 0x0001 |
jpayne@68 | 8 |
jpayne@68 | 9 int |
jpayne@68 | 10 libssh2_init(int flags); |
jpayne@68 | 11 .SH DESCRIPTION |
jpayne@68 | 12 Initialize the libssh2 functions. This typically initialize the |
jpayne@68 | 13 crypto library. It uses a global state, and is not thread safe -- you |
jpayne@68 | 14 must make sure this function is not called concurrently. |
jpayne@68 | 15 .SH RETURN VALUE |
jpayne@68 | 16 Returns 0 if succeeded, or a negative value for error. |
jpayne@68 | 17 .SH AVAILABILITY |
jpayne@68 | 18 Added in libssh2 1.2.5 |
jpayne@68 | 19 .SH SEE ALSO |
jpayne@68 | 20 .BR libssh2_exit(3) |