Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
BIO_ctrl, BIO_callback_ctrl, BIO_ptr_ctrl, BIO_int_ctrl, BIO_reset, BIO_seek, BIO_tell, BIO_flush, BIO_eof, BIO_set_close, BIO_get_close, BIO_pending, BIO_wpending, BIO_ctrl_pending, BIO_ctrl_wpending, BIO_get_info_callback, BIO_set_info_callback, BIO_info_cb, bio_info_cb — BIO control operationsSYNOPSIS
#include <openssl/bio.h>BIO_ctrl(BIO *b, int cmd, long larg, void *parg);
BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *cb);
BIO_ptr_ctrl(BIO *b, int cmd, long larg);
BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg);
BIO_reset(BIO *b);
BIO_seek(BIO *b, int ofs);
BIO_tell(BIO *b);
BIO_flush(BIO *b);
BIO_eof(BIO *b);
BIO_set_close(BIO *b, long flag);
BIO_get_close(BIO *b);
BIO_pending(BIO *b);
BIO_wpending(BIO *b);
BIO_ctrl_pending(BIO *b);
BIO_ctrl_wpending(BIO *b);
BIO_get_info_callback(BIO *b, BIO_info_cb **cbp);
BIO_set_info_callback(BIO *b, BIO_info_cb *cb);
BIO_info_cb(BIO *b, int state, int res);
bio_info_cb(BIO *b, int state, int res);
DESCRIPTION
BIO_ctrl(), BIO_callback_ctrl(), BIO_ptr_ctrl(), and BIO_int_ctrl() are BIO "control" operations taking arguments of various types. These functions are not normally called directly - various macros are used instead. The standard macros are described below. Macros specific to a particular type of BIO are described in the specific BIO's manual page as well as any special features of the standard calls.
cmd constant |
corresponding macro |
BIO_C_DESTROY_BIO_PAIR | BIO_destroy_bio_pair(3) |
BIO_C_DO_STATE_MACHINE | BIO_do_handshake(3) |
BIO_C_FILE_SEEK | BIO_seek() |
BIO_C_FILE_TELL | BIO_tell() |
BIO_C_GET_ACCEPT | BIO_get_accept_port(3) |
BIO_C_GET_BIND_MODE | BIO_get_bind_mode(3) |
BIO_C_GET_BUF_MEM_PTR | BIO_get_mem_ptr(3) |
BIO_C_GET_BUFF_NUM_LINES | BIO_get_buffer_num_lines(3) |
BIO_C_GET_CIPHER_CTX | BIO_get_cipher_ctx(3) |
BIO_C_GET_CIPHER_STATUS | BIO_get_cipher_status(3) |
BIO_C_GET_FD | BIO_get_fd(3) |
BIO_C_GET_FILE_PTR | BIO_get_fp(3) |
BIO_C_GET_MD | BIO_get_md(3) |
BIO_C_GET_MD_CTX | BIO_get_md_ctx(3) |
BIO_C_GET_READ_REQUEST | BIO_get_read_request(3) |
BIO_C_GET_SSL | BIO_get_ssl(3) |
BIO_C_GET_SSL_NUM_RENEGOTIATES | BIO_get_num_renegotiates(3) |
BIO_C_GET_WRITE_BUF_SIZE | BIO_get_write_buf_size(3) |
BIO_C_GET_WRITE_GUARANTEE | BIO_get_write_guarantee(3) |
BIO_C_MAKE_BIO_PAIR | BIO_make_bio_pair(3) |
BIO_C_RESET_READ_REQUEST | BIO_ctrl_reset_read_request(3) |
BIO_C_SET_BIND_MODE | BIO_set_bind_mode(3) |
BIO_C_SET_BUF_MEM | BIO_set_mem_buf(3) |
BIO_C_SET_BUF_MEM_EOF_RETURN | BIO_set_mem_eof_return(3) |
BIO_C_SET_BUFF_READ_DATA | BIO_set_buffer_read_data(3) |
BIO_C_SET_FD | BIO_set_fd(3) |
BIO_C_SET_FILE_PTR | BIO_set_fp(3) |
BIO_C_SET_MD | BIO_set_md(3) |
BIO_C_SET_MD_CTX | BIO_set_md_ctx(3) |
BIO_C_SET_NBIO | BIO_set_nbio(3) |
BIO_C_SET_SSL | BIO_set_ssl(3) |
BIO_C_SET_SSL_RENEGOTIATE_BYTES | BIO_set_ssl_renegotiate_bytes(3) |
BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT | BIO_set_ssl_renegotiate_timeout(3) |
BIO_C_SET_WRITE_BUF_SIZE | BIO_set_write_buf_size(3) |
BIO_C_SHUTDOWN_WR | BIO_shutdown_wr(3) |
BIO_C_SSL_MODE | BIO_set_ssl_mode(3) |
BIO_CTRL_DGRAM_CONNECT | BIO_ctrl_dgram_connect(3) |
BIO_CTRL_DGRAM_GET_PEER | BIO_dgram_get_peer(3) |
BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP | BIO_dgram_recv_timedout(3) |
BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP | BIO_dgram_send_timedout(3) |
BIO_CTRL_DGRAM_SET_CONNECTED | BIO_ctrl_set_connected(3) |
BIO_CTRL_DGRAM_SET_PEER | BIO_dgram_set_peer(3) |
BIO_CTRL_DUP | BIO_dup_state(3) |
BIO_CTRL_EOF | BIO_eof() |
BIO_CTRL_FLUSH | BIO_flush() |
BIO_CTRL_GET_CALLBACK | BIO_get_info_callback() |
BIO_CTRL_GET_CLOSE | BIO_get_close() |
BIO_CTRL_INFO | BIO_get_mem_data(3) |
BIO_CTRL_PENDING | BIO_pending() |
BIO_CTRL_RESET | BIO_reset() |
BIO_CTRL_SET_CALLBACK | BIO_set_info_callback() |
BIO_CTRL_SET_CLOSE | BIO_set_close() |
BIO_CTRL_WPENDING | BIO_wpending() |
cmd constant |
manual page |
BIO_C_GET_CONNECT | BIO_s_connect(3) |
BIO_C_SET_ACCEPT | BIO_s_accept(3) |
BIO_C_SET_BUFF_SIZE | BIO_f_buffer(3) |
BIO_C_SET_CONNECT | BIO_s_connect(3) |
BIO_C_SET_FILENAME | BIO_s_file(3) |
cmd constant |
manual page |
BIO_CTRL_DGRAM_GET_FALLBACK_MTU | BIO_dgram_set_peer(3) |
BIO_CTRL_DGRAM_GET_MTU | BIO_dgram_set_peer(3) |
BIO_CTRL_DGRAM_GET_RECV_TIMEOUT | BIO_dgram_recv_timedout(3) |
BIO_CTRL_DGRAM_GET_SEND_TIMEOUT | BIO_dgram_send_timedout(3) |
BIO_CTRL_DGRAM_SET_MTU | BIO_dgram_set_peer(3) |
BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT | BIO_dgram_recv_timedout(3) |
BIO_CTRL_DGRAM_SET_RECV_TIMEOUT | BIO_dgram_recv_timedout(3) |
BIO_CTRL_DGRAM_SET_SEND_TIMEOUT | BIO_dgram_send_timedout(3) |
BIO_CTRL_DGRAM_MTU_EXCEEDED | BIO_s_datagram(3) |
BIO_CTRL_POP | BIO_pop(3) |
BIO_CTRL_PUSH | BIO_push(3) |