Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-08-03 | threads: Automatically call ssh_init on load | Anderson Toshiyuki Sasaki | 1 | -132/+0 | |
This makes unnecessary to call ssh_init() when the library is dynamically loaded. Also removes the threads shared library. The used threads implementation is chosen in configuration time, changing the ssh_threads_get_default() depending on the available threads library. Internally, it is expected a threads implementation providing: - void ssh_mutex_lock(void **mutex); - void ssh_mutex_unlock(void **mutex); - struct ssh_threads_callbacks_struct *ssh_threads_get_default(void); and a crypto implementation providing: - int crypto_thread_init(struct ssh_threads_callbacks_struct *user_callbacks); - void crypto_thread_finalize(void); This adds internal threads implementation for pthreads and noop. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-09-07 | cmake: Handle libssh threas library correctly | Andreas Schneider | 1 | -2/+7 | |
This should fix the build on Windows and would not install pkg files. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-05-27 | cmake: Fix the build on Windows. | Andreas Schneider | 1 | -66/+68 | |
2011-06-01 | cmake: Fix static .lib overwriting on Windows. | Andreas Schneider | 1 | -3/+20 | |
2010-09-09 | build: Remove unneeded debug message. | Andreas Schneider | 1 | -2/+0 | |
2010-09-08 | build: Improve pthread detection. | Andreas Schneider | 1 | -2/+2 | |
2010-09-08 | build: Make sure LIBSSH_THREADS_LINK_LIBRARIES is in the cache. | Andreas Schneider | 1 | -5/+7 | |
2010-09-08 | build: Fixed linking against libssh in thread library. | Andreas Schneider | 1 | -2/+2 | |
2010-09-06 | Implemented the noop and native pointers | Aris Adamantiadis | 1 | -1/+0 | |
2010-09-06 | threads: Build a libssh threading library. | Andreas Schneider | 1 | -0/+109 | |