init/exit: mention these were added in 1.2.5

This commit is contained in:
Daniel Stenberg 2010-05-01 23:49:45 +02:00
parent 358aa3e24b
commit 5184aec461
2 changed files with 4 additions and 5 deletions

View File

@ -6,9 +6,9 @@ libssh2_exit - global library deinitialization
int int
libssh2_exit(void); libssh2_exit(void);
.SH DESCRIPTION .SH DESCRIPTION
Exit the libssh2 functions and free's all memory used internal. Exit the libssh2 functions and free's all memory used internal.
.SH AVAILABILITY
Added in libssh2 1.2.5
.SH SEE ALSO .SH SEE ALSO
.BR libssh2_init(3) .BR libssh2_init(3)

View File

@ -8,14 +8,13 @@ libssh2_init - global library initialization
int int
libssh2_init(int flags); libssh2_init(int flags);
.SH DESCRIPTION .SH DESCRIPTION
Initialize the libssh2 functions. This typically initialize the Initialize the libssh2 functions. This typically initialize the
crypto library. It uses a global state, and is not thread safe -- you crypto library. It uses a global state, and is not thread safe -- you
must make sure this function is not called concurrently. must make sure this function is not called concurrently.
.SH RETURN VALUE .SH RETURN VALUE
Returns 0 if succeeded, or a negative value for error. Returns 0 if succeeded, or a negative value for error.
.SH AVAILABILITY
Added in libssh2 1.2.5
.SH SEE ALSO .SH SEE ALSO
.BR libssh2_exit(3) .BR libssh2_exit(3)