aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-09-16 10:50:25 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-01 14:47:58 +0200
commitaaacd18031e8eb3accfdbda92811565cc8782dc1 (patch)
treef0f97abde050f5930e1d44b7f5affa4453cadc0c /include
parent9f60352497c5d14b89acbb9a42df2e790eec091e (diff)
downloadlibssh-aaacd18031e8eb3accfdbda92811565cc8782dc1.tar.gz
libssh-aaacd18031e8eb3accfdbda92811565cc8782dc1.tar.xz
libssh-aaacd18031e8eb3accfdbda92811565cc8782dc1.zip
callbacks: Improve the documentation of ssh_threads_get_noop().
BUG: https://red.libssh.org/issues/123
Diffstat (limited to 'include')
-rw-r--r--include/libssh/callbacks.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/libssh/callbacks.h b/include/libssh/callbacks.h
index 7525b73d..e28f9dc4 100644
--- a/include/libssh/callbacks.h
+++ b/include/libssh/callbacks.h
@@ -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);
/**
- * @brief returns a pointer on the noop threads callbacks, to be used with
- * ssh_threads_set_callbacks. These callbacks do nothing and are being used by
- * default.
+ * @brief Get the noop threads callbacks structure
+ *
+ * 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
*/
LIBSSH_API struct ssh_threads_callbacks_struct *ssh_threads_get_noop(void);