|
|
@@ -14,22 +14,20 @@
|
|
|
# endif
|
|
|
#endif
|
|
|
|
|
|
-typedef int (*SSL_get_error_t)(const SSL *, int);
|
|
|
-typedef void (*SSL_free_t)(SSL *);
|
|
|
-typedef int (*SSL_connect_t)(SSL *);
|
|
|
-typedef int (*SSL_read_t)(SSL *, void*, int);
|
|
|
-typedef int (*SSL_write_t)(SSL *, const void*, int);
|
|
|
-typedef SSL* (*SSL_new_t)(SSL_CTX *);
|
|
|
-typedef const SSL_METHOD* (*SSLv23_client_method_t)(void);
|
|
|
-typedef int (*SSL_shutdown_t)(SSL *);
|
|
|
-typedef int (*SSL_set_fd_t)(SSL *, int);
|
|
|
-typedef int (*SSL_pending_t)(const SSL *);
|
|
|
+typedef int (*SSL_get_error_t)(const SSL*, int);
|
|
|
+typedef void (*SSL_free_t)(SSL*);
|
|
|
+typedef int (*SSL_connect_t)(SSL*);
|
|
|
+typedef int (*SSL_read_t)(SSL*, void*, int);
|
|
|
+typedef int (*SSL_write_t)(SSL*, const void*, int);
|
|
|
+typedef SSL* (*SSL_new_t)(SSL_CTX*);
|
|
|
+typedef SSL_METHOD* (*SSLv23_client_method_t)(void);
|
|
|
+typedef int (*SSL_shutdown_t)(SSL*);
|
|
|
+typedef int (*SSL_set_fd_t)(SSL*, int);
|
|
|
+typedef int (*SSL_pending_t)(const SSL*);
|
|
|
typedef void (*SSL_load_error_strings_t)(void);
|
|
|
typedef int (*SSL_library_init_t)(void);
|
|
|
-typedef void (*SSL_CTX_free_t)(SSL_CTX *);
|
|
|
-typedef SSL_CTX* (*SSL_CTX_new_t)(const SSL_METHOD *);
|
|
|
-
|
|
|
-#include ".defs/libssl_defs.h"
|
|
|
+typedef void (*SSL_CTX_free_t)(SSL_CTX*);
|
|
|
+typedef SSL_CTX* (*SSL_CTX_new_t)(SSL_METHOD*);
|
|
|
|
|
|
int load_ssl();
|
|
|
int unload_ssl();
|