Aris Adamantiadis
57ef959aa3
threads: support libgcrypt 1.6 hack
...
Not 100% satisfied of this patch, but the way libgcrypt handles
threading in 1.6 is not compatible with custom handlers. The
new code basicaly uses pthreads in every case. This will probably
not work on windows.
2014-01-08 18:57:31 +01:00
Andreas Schneider
e68b763a67
threads: Make libcrypto_mutexes static.
...
Fixes sparse warnings.
2012-02-19 13:26:02 +01:00
Andreas Schneider
72db38b31d
threads: Fix function defintions.
...
Fixes sparse warnings.
2012-02-19 13:26:02 +01:00
Andreas Schneider
acfc8ea83f
priv: Remove crypto.h and add correct includes to src files.
2011-09-18 21:37:17 +02:00
Bernhard R. Link
8b51d29363
proper prototypes
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2011-02-12 12:26:33 +01:00
Andreas Schneider
751f202f56
doc: Follow the current naming convention.
2010-12-10 20:28:59 +01:00
Aris Adamantiadis
5b1c985a0e
Changed the threads cbks from struct to publ func
2010-09-30 11:10:08 +02:00
Andreas Schneider
9d3b84c914
threads: Fixed windows build.
...
MSVC isn't C99.
2010-09-28 19:12:01 +02:00
Aris Adamantiadis
5eb7c7b6ec
Added initialisation logs for threading
2010-09-12 21:53:42 +02:00
Aris Adamantiadis
b7af2b2959
Changed callbacks type
2010-09-12 21:45:53 +02:00
Aris Adamantiadis
49f57a8d0d
Implemented the noop and native pointers
2010-09-06 16:52:14 +02:00
Aris Adamantiadis
2cca490076
Moved pthread specific code in src/threads/pthread.c
...
pthread example doesn't compile du to the lack of
libssh_threads_native.so library
2010-09-06 14:51:01 +02:00
Andreas Schneider
f7842e3a4b
misc: Rename libssh/ to src/
2010-09-06 14:28:38 +02:00