mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 10:40:28 +09:00
Fix multiple spelling and grammar mistakes
Signed-off-by: Junda Ai <aijunda29@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
12
src/init.c
12
src/init.c
@@ -104,7 +104,7 @@ _ret:
|
||||
/**
|
||||
* @brief Initialize global cryptographic data structures.
|
||||
*
|
||||
* This functions is automatically called when the library is loaded.
|
||||
* This function is automatically called when the library is loaded.
|
||||
*
|
||||
*/
|
||||
void libssh_constructor(void)
|
||||
@@ -127,7 +127,7 @@ void libssh_constructor(void)
|
||||
* The libssh library is implementing the SSH protocols and some of its
|
||||
* extensions. This group of functions is mostly used to implement an SSH
|
||||
* client.
|
||||
* Some function are needed to implement an SSH server too.
|
||||
* Some functions are needed to implement an SSH server too.
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
@@ -136,8 +136,8 @@ void libssh_constructor(void)
|
||||
* @brief Initialize global cryptographic data structures.
|
||||
*
|
||||
* Since version 0.8.0, when libssh is dynamically linked, it is not necessary
|
||||
* to call this function on systems which are fully supported with regards to
|
||||
* threading (that is, system with pthreads available).
|
||||
* to call this function on systems that fully support threading (that is,
|
||||
* systems with pthreads available).
|
||||
*
|
||||
* If libssh is statically linked, it is necessary to explicitly call ssh_init()
|
||||
* before calling any other provided API, and it is necessary to explicitly call
|
||||
@@ -189,7 +189,7 @@ _ret:
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Finalize and cleanup all libssh and cryptographic data structures.
|
||||
* @brief Finalize and clean up all libssh and cryptographic data structures.
|
||||
*
|
||||
* This function is automatically called when the library is unloaded.
|
||||
*
|
||||
@@ -206,7 +206,7 @@ void libssh_destructor(void)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Finalize and cleanup all libssh and cryptographic data structures.
|
||||
* @brief Finalize and clean up all libssh and cryptographic data structures.
|
||||
*
|
||||
* Since version 0.8.0, when libssh is dynamically linked, it is not necessary
|
||||
* to call this function, since it is automatically called when the library is
|
||||
|
||||
Reference in New Issue
Block a user