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:
Junda Ai
2022-04-27 11:44:48 -07:00
committed by Jakub Jelen
parent 3084b2bc41
commit 41e2d17119
32 changed files with 112 additions and 111 deletions

View File

@@ -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