Subversion Repositories Tewi

Rev

Rev 140 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11 nishi 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 nishi 6
#ifdef __cplusplus
7
extern "C" {
8
#endif
9
 
12 nishi 10
#include <openssl/ssl.h>
31 nishi 11
#include <stdint.h>
12 nishi 12
 
273 nishi 13
#ifndef __UINTPTR_TYPE__
14
#define __UINTPTR_TYPE__ uintptr_t
15
#endif
16
 
31 nishi 17
SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port);
12 nishi 18
 
140 nishi 19
#ifdef __cplusplus
20
}
11 nishi 21
#endif
140 nishi 22
 
23
#endif