Subversion Repositories Tewi

Rev

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

/* $Id: tw_ssl.h 273 2024-10-08 10:49:19Z nishi $ */

#ifndef __TW_SSL_H__
#define __TW_SSL_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <openssl/ssl.h>
#include <stdint.h>

#ifndef __UINTPTR_TYPE__
#define __UINTPTR_TYPE__ uintptr_t
#endif

SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port);

#ifdef __cplusplus
}
#endif

#endif