aboutsummaryrefslogtreecommitdiff
path: root/doc/threading.dox
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 21:32:08 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-17 21:32:29 +0200
commit2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1 (patch)
tree0faea892c343ce88a5c6699dd43b7c9c8bb0eebb /doc/threading.dox
parentfa7798833ad9b0edb296a632c07ce942861c8993 (diff)
downloadlibssh-2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1.tar.gz
libssh-2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1.tar.xz
libssh-2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1.zip
doc: Fix threading documentation.
Diffstat (limited to 'doc/threading.dox')
-rw-r--r--doc/threading.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/threading.dox b/doc/threading.dox
index 4860f54b..a11c82f7 100644
--- a/doc/threading.dox
+++ b/doc/threading.dox
@@ -25,7 +25,7 @@ use, using ssh_threads_set_callbacks(), then call ssh_init().
@code
#include <libssh/callbacks.h>
...
-ssh_threads_set_callbacks(ssh_threads_noop);
+ssh_threads_set_callbacks(ssh_threads_get_noop());
ssh_init();
@endcode
@@ -40,7 +40,7 @@ threading backend:
@code
#include <libssh/callbacks.h>
...
-ssh_threads_set_callbacks(ssh_threads_pthread);
+ssh_threads_set_callbacks(ssh_threads_get_pthread());
ssh_init();
@endcode