Subversion Repositories Tewi

Rev

Rev 140 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 140 Rev 273
Line 1... Line 1...
1
/* $Id: tw_ssl.h 140 2024-09-23 11:31:18Z nishi $ */
1
/* $Id: tw_ssl.h 273 2024-10-08 10:49:19Z nishi $ */
2
 
2
 
3
#ifndef __TW_SSL_H__
3
#ifndef __TW_SSL_H__
4
#define __TW_SSL_H__
4
#define __TW_SSL_H__
5
 
5
 
6
#ifdef __cplusplus
6
#ifdef __cplusplus
Line 8... Line 8...
8
#endif
8
#endif
9
 
9
 
10
#include <openssl/ssl.h>
10
#include <openssl/ssl.h>
11
#include <stdint.h>
11
#include <stdint.h>
12
 
12
 
-
 
13
#ifndef __UINTPTR_TYPE__
-
 
14
#define __UINTPTR_TYPE__ uintptr_t
-
 
15
#endif
-
 
16
 
13
SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port);
17
SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port);
14
 
18
 
15
#ifdef __cplusplus
19
#ifdef __cplusplus
16
}
20
}
17
#endif
21
#endif