Fork me on GitHub
Loading...
Searching...
No Matches
dtls-bio.h
Go to the documentation of this file.
1
11#ifndef JANUS_DTLS_BIO_H
12#define JANUS_DTLS_BIO_H
13
14#include <openssl/opensslv.h>
15#include <openssl/err.h>
16#include <openssl/ssl.h>
17
20
22BIO *BIO_janus_dtls_agent_new(void *dtls);
23
32void janus_dtls_bio_agent_set_mtu(int start_mtu);
36
37#if defined(LIBRESSL_VERSION_NUMBER)
38#define JANUS_USE_OPENSSL_PRE_1_1_API (LIBRESSL_VERSION_NUMBER < 0x30500000L)
39#else
40#define JANUS_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L)
41#endif
42
43#endif
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