diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-17 21:32:08 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-17 21:32:29 +0200 |
commit | 2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1 (patch) | |
tree | 0faea892c343ce88a5c6699dd43b7c9c8bb0eebb /doc/threading.dox | |
parent | fa7798833ad9b0edb296a632c07ce942861c8993 (diff) | |
download | libssh-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.dox | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/threading.dox b/doc/threading.dox index 4860f54..a11c82f 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 |