2 * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
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
11 #include <openssl/bio.h>
12 #include <openssl/core.h>
14 int ossl_prov_bio_from_dispatch(const OSSL_DISPATCH *fns);
16 BIO *ossl_prov_bio_new_file(const char *filename, const char *mode);
17 BIO *ossl_prov_bio_new_membuf(const char *filename, int len);
18 int ossl_prov_bio_read_ex(BIO *bio, void *data, size_t data_len,
20 int ossl_prov_bio_free(BIO *bio);
21 int ossl_prov_bio_vprintf(BIO *bio, const char *format, va_list ap);
22 int ossl_prov_bio_printf(BIO *bio, const char *format, ...);