Parent Directory | Revision Log | Revision Graph
update
1 | nishi | 1.1 | /* $Id: tw_ssl.h 273 2024-10-08 10:49:19Z nishi $ */ |
2 | |||
3 | #ifndef __TW_SSL_H__ | ||
4 | #define __TW_SSL_H__ | ||
5 | |||
6 | #ifdef __cplusplus | ||
7 | extern "C" { | ||
8 | #endif | ||
9 | |||
10 | #include <openssl/ssl.h> | ||
11 | #include <stdint.h> | ||
12 | |||
13 | #ifndef __UINTPTR_TYPE__ | ||
14 | #define __UINTPTR_TYPE__ uintptr_t | ||
15 | #endif | ||
16 | |||
17 | SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port); | ||
18 | |||
19 | #ifdef __cplusplus | ||
20 | } | ||
21 | #endif | ||
22 | |||
23 | #endif |
nishi@chaotic.ninja | ViewVC Help |
Powered by ViewVC 1.3.0-dev |