mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
callbacks: Improve the documentation of ssh_threads_get_noop().
BUG: https://red.libssh.org/issues/123
This commit is contained in:
@@ -809,9 +809,13 @@ LIBSSH_API int ssh_threads_set_callbacks(struct ssh_threads_callbacks_struct
|
|||||||
LIBSSH_API struct ssh_threads_callbacks_struct *ssh_threads_get_pthread(void);
|
LIBSSH_API struct ssh_threads_callbacks_struct *ssh_threads_get_pthread(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief returns a pointer on the noop threads callbacks, to be used with
|
* @brief Get the noop threads callbacks structure
|
||||||
* ssh_threads_set_callbacks. These callbacks do nothing and are being used by
|
*
|
||||||
* default.
|
* This can be used with ssh_threads_set_callbacks. These callbacks do nothing
|
||||||
|
* and are being used by default.
|
||||||
|
*
|
||||||
|
* @return Always returns a valid pointer to the noop callbacks structure.
|
||||||
|
*
|
||||||
* @see ssh_threads_set_callbacks
|
* @see ssh_threads_set_callbacks
|
||||||
*/
|
*/
|
||||||
LIBSSH_API struct ssh_threads_callbacks_struct *ssh_threads_get_noop(void);
|
LIBSSH_API struct ssh_threads_callbacks_struct *ssh_threads_get_noop(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user