Lines Matching refs:BIO

13 BIO_meth_set_recvmmsg, BIO_meth_get_recvmmsg - Routines to build up BIO methods
26 int (*bwrite)(BIO *, const char *, size_t, size_t *));
28 int (*write)(BIO *, const char *, int));
31 int (*bread)(BIO *, char *, size_t, size_t *));
32 int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int));
34 int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *));
36 int (*gets)(BIO *, char *, int));
39 long (*ctrl)(BIO *, int, long, void *));
41 int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *));
42 int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *));
45 long (*callback_ctrl)(BIO *, int, BIO_info_cb *));
48 ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
51 ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
56 int (*BIO_meth_get_write_ex(const BIO_METHOD *biom))(BIO *, const char *, size_t,
58 int (*BIO_meth_get_write(const BIO_METHOD *biom))(BIO *, const char *, int);
60 int (*BIO_meth_get_read_ex(const BIO_METHOD *biom))(BIO *, char *, size_t, size_t *);
61 int (*BIO_meth_get_read(const BIO_METHOD *biom))(BIO *, char *, int);
63 int (*BIO_meth_get_puts(const BIO_METHOD *biom))(BIO *, const char *);
64 int (*BIO_meth_get_gets(const BIO_METHOD *biom))(BIO *, char *, int);
66 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom))(BIO *, int, long, void *);
68 int (*BIO_meth_get_create(const BIO_METHOD *bion))(BIO *);
69 int (*BIO_meth_get_destroy(const BIO_METHOD *biom))(BIO *);
71 long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))(BIO *, int, BIO_info_cb *);
73 ossl_ssize_t (*BIO_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *,
78 ossl_ssize_t (*BIO_meth_get_recvmmsg(const BIO_METHOD *biom))(BIO *,
86 The B<BIO_METHOD> type is a structure used for the implementation of new BIO
88 of the various BIO capabilities. See the L<bio(7)> page for more information.
99 standard OpenSSL provided BIO types is provided in F<< <openssl/bio.h> >>.
111 used for writing arbitrary length data to the BIO respectively. This function
120 for reading arbitrary length data from the BIO respectively. This function will
129 writing a NULL terminated string to the BIO respectively. This function will be
134 used for reading a line of data from the BIO respectively (see the L<BIO_gets(3)>
140 processing ctrl messages in the BIO respectively. See the L<BIO_ctrl(3)> page for
146 for creating a new instance of the BIO respectively. This function will be
149 memory for the new BIO, and a pointer to this newly allocated structure will
151 BIO_new() will not mark the BIO as initialised on allocation.
153 by a BIO ctrl function, once BIO initialisation is complete.
156 for destroying an instance of a BIO respectively. This function will be
157 called in response to the application calling BIO_free(). A pointer to the BIO
159 for BIO specific clean up. The memory for the BIO itself should not be freed by
163 function used for processing callback ctrl messages in the BIO respectively. See
175 BIO_get_new_index() returns the new BIO type value or -1 if an error occurred.
186 It is not safe to use C<BIO_meth_get_> functions to reuse the B<BIO>
187 implementation of B<BIO>s implemented by OpenSSL itself with
188 application-implemented B<BIO>s. Instead either the applications ought to
189 implement these functions themselves or they should implement a filter BIO.