Lines Matching refs:BIO
10 - BIO control operations
16 typedef int BIO_info_cb(BIO *b, int state, int res);
18 long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
19 long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *cb);
20 void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
21 long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
23 int BIO_reset(BIO *b);
24 int BIO_seek(BIO *b, int ofs);
25 int BIO_tell(BIO *b);
26 int BIO_flush(BIO *b);
27 int BIO_eof(BIO *b);
28 int BIO_set_close(BIO *b, long flag);
29 int BIO_get_close(BIO *b);
30 int BIO_pending(BIO *b);
31 int BIO_wpending(BIO *b);
32 size_t BIO_ctrl_pending(BIO *b);
33 size_t BIO_ctrl_wpending(BIO *b);
35 int BIO_get_info_callback(BIO *b, BIO_info_cb **cbp);
36 int BIO_set_info_callback(BIO *b, BIO_info_cb *cb);
38 int BIO_get_ktls_send(BIO *b);
39 int BIO_get_ktls_recv(BIO *b);
41 int BIO_set_conn_mode(BIO *b, int mode);
42 int BIO_get_conn_mode(BIO *b);
44 int BIO_set_tfo(BIO *b, int onoff);
49 are BIO "control" operations taking arguments of various types.
52 specific to a particular type of BIO are described in the specific
56 BIO_reset() typically resets a BIO to some initial state, in the case
60 BIO_seek() resets a file related BIO's (that is file descriptor and
63 BIO_tell() returns the current file position of a file related BIO.
68 BIO_eof() returns 1 if the BIO has read EOF, the precise meaning of
69 "EOF" varies according to the BIO type.
71 BIO_set_close() sets the BIO B<b> close flag to B<flag>. B<flag> can
73 in a source/sink BIO to indicate that the underlying I/O stream should
74 be closed when the BIO is freed.
84 BIO_get_ktls_send() returns 1 if the BIO is using the Kernel TLS data-path for
86 BIO_get_ktls_recv() returns 1 if the BIO is using the Kernel TLS data-path for
89 BIO_get_conn_mode() returns the BIO connection mode. BIO_set_conn_mode() sets
90 the BIO connection mode.
119 BIO_get_ktls_send() returns 1 if the BIO is using the Kernel TLS data-path for
121 BIO_get_ktls_recv() returns 1 if the BIO is using the Kernel TLS data-path for
146 case of a file BIO some data may be available in the FILE structures
148 portably way. For other types of BIO they may not be supported.
151 operation usually pass the operation to the next BIO in the chain.
152 This often means there is no need to locate the required BIO for
154 be automatically passed to the relevant BIO. However, this can cause
157 or file descriptor BIO.
167 the case of BIO_seek() on a file BIO for a successful operation.