diff options
Diffstat (limited to 'sockets.h')
-rw-r--r-- | sockets.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -12,6 +12,8 @@ #include <sys/socket.h> #include <arpa/inet.h> #include <sys/select.h> +#include <openssl/ssl.h> +#include <openssl/err.h> #define BACKLOG 10 // maximum length to which the queue of pending connections for sockfd may grow @@ -26,4 +28,12 @@ int createserversocket(char *host, char *port); // Create listening socket to listen for bouncer client connections int createclientsocket(char *listenport); +void init_openssl(); + +void cleanup_openssl(); + +SSL_CTX *create_context(); + +void configure_context(SSL_CTX *ctx); + #endif |