1/*
2 * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <stdarg.h>
11#include <openssl/bio.h>
12#include <openssl/core.h>
13
14int ossl_prov_bio_from_dispatch(const OSSL_DISPATCH *fns);
15
16BIO *ossl_prov_bio_new_file(const char *filename, const char *mode);
17BIO *ossl_prov_bio_new_membuf(const char *filename, int len);
18int ossl_prov_bio_read_ex(BIO *bio, void *data, size_t data_len,
19 size_t *bytes_read);
20int ossl_prov_bio_free(BIO *bio);
21int ossl_prov_bio_vprintf(BIO *bio, const char *format, va_list ap);
22int ossl_prov_bio_printf(BIO *bio, const char *format, ...);
23