Revision: | 1.1 |
Committed: | Thu Oct 17 09:53:39 2024 UTC (4 weeks ago) by nishi |
Content type: | text/x-c |
Branch: | MAIN |
CVS Tags: | v2_05A, v2_05, HEAD |
Log Message: | update |
# | User | Rev | Content |
---|---|---|---|
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 |