Initial commit. It's far from finished.
This commit is contained in:
15
thread_pool.h
Normal file
15
thread_pool.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef THREAD_POOL_H
|
||||
#define THREAD_POOL_H
|
||||
|
||||
/* included for openssl and sockets */
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <resolv.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#define FAIL -1
|
||||
|
||||
void ssl_pt_mutex(int srv, SSL_CTX *ctx, int poolsize);
|
||||
|
||||
#endif /* THREAD_POOL_H */
|
||||
Reference in New Issue
Block a user