]>
git.ipfire.org Git - thirdparty/openssl.git/blob - include/internal/bio.h
2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (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
10 #include <openssl/bio.h>
12 struct bio_method_st
{
15 int (*bwrite
) (BIO
*, const char *, int);
16 int (*bread
) (BIO
*, char *, int);
17 int (*bputs
) (BIO
*, const char *);
18 int (*bgets
) (BIO
*, char *, int);
19 long (*ctrl
) (BIO
*, int, long, void *);
20 int (*create
) (BIO
*);
21 int (*destroy
) (BIO
*);
22 long (*callback_ctrl
) (BIO
*, int, bio_info_cb
*);
25 void bio_free_ex_data(BIO
*bio
);
26 void bio_cleanup(void);