Fork me on GitHub
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 
22 BIO *BIO_janus_dtls_agent_new(void *dtls);
23 
32 void janus_dtls_bio_agent_set_mtu(int start_mtu);
33 
34 #if defined(LIBRESSL_VERSION_NUMBER)
35 #define JANUS_USE_OPENSSL_PRE_1_1_API (1)
36 #else
37 #define JANUS_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L)
38 #endif
39 
40 #endif
void janus_dtls_bio_agent_set_mtu(int start_mtu)
Set the MTU for the BIO agent writer.
Definition: dtls-bio.c:20
BIO * BIO_janus_dtls_agent_new(void *dtls)
OpenSSL BIO agent writer constructor.
Definition: dtls-bio.c:76
int janus_dtls_bio_agent_init(void)
OpenSSL BIO agent writer initialization.
Definition: dtls-bio.c:52