From 8c55294ea9134c32f80d1a399a6a49ecdc9264b2 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 1 Sep 2010 14:07:45 +0200 Subject: Openssl implementation of threading + default imp --- include/libssh/threads.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'include/libssh/threads.h') diff --git a/include/libssh/threads.h b/include/libssh/threads.h index 6f82ee33..d83e4219 100644 --- a/include/libssh/threads.h +++ b/include/libssh/threads.h @@ -22,17 +22,10 @@ #ifndef THREADS_H_ #define THREADS_H_ -typedef int (*ssh_thread_callback) (void **lock); -struct ssh_threads_callbacks_struct { - ssh_thread_callback mutex_init; - ssh_thread_callback mutex_destroy; - ssh_thread_callback mutex_lock; - ssh_thread_callback mutex_unlock; -}; +#include int ssh_threads_init(void); -int ssh_init_set_threads_callbacks(struct ssh_threads_callbacks_struct - *cb); -int ssh_init_set_threads_pthreads(void); +void ssh_threads_finalize(void); + #endif /* THREADS_H_ */ -- cgit