source:
Main/trunk/Server/tw_ssl.h@
366
Last change on this file since 366 was 273, checked in by , on Oct 8, 2024 at 7:49:19 PM | |
---|---|
|
|
File size: 297 bytes |
Rev | Line | |
---|---|---|
[11] | 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 | ||
[140] | 6 | #ifdef __cplusplus |
7 | extern "C" { | |
8 | #endif | |
9 | ||
[12] | 10 | #include <openssl/ssl.h> |
[31] | 11 | #include <stdint.h> |
[12] | 12 | |
[273] | 13 | #ifndef __UINTPTR_TYPE__ |
14 | #define __UINTPTR_TYPE__ uintptr_t | |
15 | #endif | |
16 | ||
[31] | 17 | SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port); |
[12] | 18 | |
[140] | 19 | #ifdef __cplusplus |
20 | } | |
[11] | 21 | #endif |
[140] | 22 | |
23 | #endif |
Note:
See TracBrowser
for help on using the repository browser.