11#ifndef JANUS_DTLS_BIO_H
12#define JANUS_DTLS_BIO_H
14#include <openssl/opensslv.h>
15#include <openssl/err.h>
16#include <openssl/ssl.h>
37#if defined(LIBRESSL_VERSION_NUMBER)
38#define JANUS_USE_OPENSSL_PRE_1_1_API (LIBRESSL_VERSION_NUMBER < 0x30500000L)
40#define JANUS_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L)
int janus_dtls_bio_agent_init(void)
OpenSSL BIO agent writer initialization.
Definition dtls-bio.c:55
BIO * BIO_janus_dtls_agent_new(void *dtls)
OpenSSL BIO agent writer constructor.
Definition dtls-bio.c:79
void janus_dtls_bio_agent_set_mtu(int start_mtu)
Set the MTU for the BIO agent writer.
Definition dtls-bio.c:20
int janus_dtls_bio_agent_get_mtu(void)
Return which MTU was configured for the BIO agent writer.
Definition dtls-bio.c:28