summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_openssl_bio.h
blob: 28e484c3984ae5c338a4b70db3d0e181463cd6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2007 - 2021, Alan Antonuk and the rabbitmq-c contributors.
// SPDX-License-Identifier: mit

#ifndef AMQP_OPENSSL_BIO
#define AMQP_OPENSSL_BIO

// Use OpenSSL v1.1.1 API.
#define OPENSSL_API_COMPAT 10101

#include <openssl/bio.h>

int amqp_openssl_bio_init(void);

void amqp_openssl_bio_destroy(void);

typedef const BIO_METHOD *BIO_METHOD_PTR;

BIO_METHOD_PTR amqp_openssl_bio(void);

#endif /* ifndef AMQP_OPENSSL_BIO */