Lines Matching full:bio
69 \&\- BIO control operations
73 \& #include <openssl/bio.h>
75 \& typedef int BIO_info_cb(BIO *b, int state, int res);
77 \& long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
78 \& long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *cb);
79 \& void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
80 \& long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
82 \& int BIO_reset(BIO *b);
83 \& int BIO_seek(BIO *b, int ofs);
84 \& int BIO_tell(BIO *b);
85 \& int BIO_flush(BIO *b);
86 \& int BIO_eof(BIO *b);
87 \& int BIO_set_close(BIO *b, long flag);
88 \& int BIO_get_close(BIO *b);
89 \& int BIO_pending(BIO *b);
90 \& int BIO_wpending(BIO *b);
91 \& size_t BIO_ctrl_pending(BIO *b);
92 \& size_t BIO_ctrl_wpending(BIO *b);
94 \& int BIO_get_info_callback(BIO *b, BIO_info_cb **cbp);
95 \& int BIO_set_info_callback(BIO *b, BIO_info_cb *cb);
97 \& int BIO_get_ktls_send(BIO *b);
98 \& int BIO_get_ktls_recv(BIO *b);
100 \& int BIO_set_conn_mode(BIO *b, int mode);
101 \& int BIO_get_conn_mode(BIO *b);
103 \& int BIO_set_tfo(BIO *b, int onoff);
108 are BIO "control" operations taking arguments of various types.
111 specific to a particular type of BIO are described in the specific
115 \&\fBBIO_reset()\fR typically resets a BIO to some initial state, in the case
119 \&\fBBIO_seek()\fR resets a file related BIO's (that is file descriptor and
122 \&\fBBIO_tell()\fR returns the current file position of a file related BIO.
127 \&\fBBIO_eof()\fR returns 1 if the BIO has read EOF, the precise meaning of
128 "EOF" varies according to the BIO type.
130 \&\fBBIO_set_close()\fR sets the BIO \fBb\fR close flag to \fBflag\fR. \fBflag\fR can
132 in a source/sink BIO to indicate that the underlying I/O stream should
133 be closed when the BIO is freed.
143 \&\fBBIO_get_ktls_send()\fR returns 1 if the BIO is using the Kernel TLS data-path for
145 \&\fBBIO_get_ktls_recv()\fR returns 1 if the BIO is using the Kernel TLS data-path for
148 \&\fBBIO_get_conn_mode()\fR returns the BIO connection mode. \fBBIO_set_conn_mode()\fR sets
149 the BIO connection mode.
177 \&\fBBIO_get_ktls_send()\fR returns 1 if the BIO is using the Kernel TLS data-path for
179 \&\fBBIO_get_ktls_recv()\fR returns 1 if the BIO is using the Kernel TLS data-path for
205 case of a file BIO some data may be available in the FILE structures
207 portably way. For other types of BIO they may not be supported.
210 operation usually pass the operation to the next BIO in the chain.
211 This often means there is no need to locate the required BIO for
213 be automatically passed to the relevant BIO. However, this can cause
216 or file descriptor BIO.
225 the case of \fBBIO_seek()\fR on a file BIO for a successful operation.