Lines Matching full:bio
72 BIO_meth_set_recvmmsg, BIO_meth_get_recvmmsg \- Routines to build up BIO methods
76 \& #include <openssl/bio.h>
85 \& int (*bwrite)(BIO *, const char *, size_t, size_t *));
87 \& int (*write)(BIO *, const char *, int));
90 \& int (*bread)(BIO *, char *, size_t, size_t *));
91 \& int BIO_meth_set_read(BIO_METHOD *biom, int (*read)(BIO *, char *, int));
93 \& int BIO_meth_set_puts(BIO_METHOD *biom, int (*puts)(BIO *, const char *));
95 \& int (*gets)(BIO *, char *, int));
98 \& long (*ctrl)(BIO *, int, long, void *));
100 \& int BIO_meth_set_create(BIO_METHOD *biom, int (*create)(BIO *));
101 \& int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy)(BIO *));
104 \& long (*callback_ctrl)(BIO *, int, BIO_info_cb *));
107 \& ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
110 \& ossl_ssize_t (*f) (BIO *, BIO_MSG *, size_t,
117 \& int (*BIO_meth_get_write_ex(const BIO_METHOD *biom))(BIO *, const char *, size_t,
119 \& int (*BIO_meth_get_write(const BIO_METHOD *biom))(BIO *, const char *, int);
121 \& int (*BIO_meth_get_read_ex(const BIO_METHOD *biom))(BIO *, char *, size_t, size_t *);
122 \& int (*BIO_meth_get_read(const BIO_METHOD *biom))(BIO *, char *, int);
124 \& int (*BIO_meth_get_puts(const BIO_METHOD *biom))(BIO *, const char *);
125 \& int (*BIO_meth_get_gets(const BIO_METHOD *biom))(BIO *, char *, int);
127 \& long (*BIO_meth_get_ctrl(const BIO_METHOD *biom))(BIO *, int, long, void *);
129 \& int (*BIO_meth_get_create(const BIO_METHOD *bion))(BIO *);
130 \& int (*BIO_meth_get_destroy(const BIO_METHOD *biom))(BIO *);
132 \& long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))(BIO *, int, BIO_info_cb *);
134 \& ossl_ssize_t (*BIO_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *,
139 \& ossl_ssize_t (*BIO_meth_get_recvmmsg(const BIO_METHOD *biom))(BIO *,
147 The \fBBIO_METHOD\fR type is a structure used for the implementation of new BIO
149 of the various BIO capabilities. See the \fBbio\fR\|(7) page for more information.
160 standard OpenSSL provided BIO types is provided in \fI<openssl/bio.h>\fR.
172 used for writing arbitrary length data to the BIO respectively. This function
181 for reading arbitrary length data from the BIO respectively. This function will
190 writing a NULL terminated string to the BIO respectively. This function will be
195 used for reading a line of data from the BIO respectively (see the \fBBIO_gets\fR\|(3)
201 processing ctrl messages in the BIO respectively. See the \fBBIO_ctrl\fR\|(3) page for
207 for creating a new instance of the BIO respectively. This function will be
210 memory for the new BIO, and a pointer to this newly allocated structure will
212 \&\fBBIO_new()\fR will not mark the BIO as initialised on allocation.
214 by a BIO ctrl function, once BIO initialisation is complete.
217 for destroying an instance of a BIO respectively. This function will be
218 called in response to the application calling \fBBIO_free()\fR. A pointer to the BIO
220 for BIO specific clean up. The memory for the BIO itself should not be freed by
224 function used for processing callback ctrl messages in the BIO respectively. See
235 \&\fBBIO_get_new_index()\fR returns the new BIO type value or \-1 if an error occurred.
245 It is not safe to use \f(CW\*(C`BIO_meth_get_\*(C'\fR functions to reuse the \fBBIO\fR
246 implementation of \fBBIO\fRs implemented by OpenSSL itself with
247 application-implemented \fBBIO\fRs. Instead either the applications ought to
248 implement these functions themselves or they should implement a filter BIO.