summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_openssl_bio.h
blob: f3e5b7f4d4c0fbe243db097a84277b9e7208fed2 (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.0 API.
#define OPENSSL_API_COMPAT 10100

#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 */