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 
18 #include "dtls.h"
19 
22 
24 BIO *BIO_janus_dtls_agent_new(struct janus_dtls_srtp *dtls);
25 
34 void janus_dtls_bio_agent_set_mtu(int start_mtu);
35 
36 #if defined(LIBRESSL_VERSION_NUMBER)
37 #define JANUS_USE_OPENSSL_PRE_1_1_API (1)
38 #else
39 #define JANUS_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L)
40 #endif
41 
42 #endif
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_init(void)
OpenSSL BIO agent writer initialization.
Definition: dtls-bio.c:52
DTLS/SRTP processing (headers)
BIO * BIO_janus_dtls_agent_new(struct janus_dtls_srtp *dtls)
OpenSSL BIO agent writer constructor.
Definition: dtls-bio.c:76
Janus DTLS-SRTP handle.
Definition: dtls.h:56