Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
bio.h File Reference
#include <openssl/e_os2.h>
#include <stdio.h>
#include <stdarg.h>
#include <openssl/crypto.h>
#include <openssl/bioerr.h>
+ Include dependency graph for bio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bio_dgram_sctp_sndinfo
 
struct  bio_dgram_sctp_rcvinfo
 
struct  bio_dgram_sctp_prinfo
 
union  BIO_sock_info_u
 

Macros

#define BIO_TYPE_DESCRIPTOR   0x0100 /* socket, fd, connect or accept */
 
#define BIO_TYPE_FILTER   0x0200
 
#define BIO_TYPE_SOURCE_SINK   0x0400
 
#define BIO_TYPE_NONE   0
 
#define BIO_TYPE_MEM   ( 1|BIO_TYPE_SOURCE_SINK)
 
#define BIO_TYPE_FILE   ( 2|BIO_TYPE_SOURCE_SINK)
 
#define BIO_TYPE_FD   ( 4|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_SOCKET   ( 5|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_NULL   ( 6|BIO_TYPE_SOURCE_SINK)
 
#define BIO_TYPE_SSL   ( 7|BIO_TYPE_FILTER)
 
#define BIO_TYPE_MD   ( 8|BIO_TYPE_FILTER)
 
#define BIO_TYPE_BUFFER   ( 9|BIO_TYPE_FILTER)
 
#define BIO_TYPE_CIPHER   (10|BIO_TYPE_FILTER)
 
#define BIO_TYPE_BASE64   (11|BIO_TYPE_FILTER)
 
#define BIO_TYPE_CONNECT   (12|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_ACCEPT   (13|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_NBIO_TEST   (16|BIO_TYPE_FILTER)/* server proxy BIO */
 
#define BIO_TYPE_NULL_FILTER   (17|BIO_TYPE_FILTER)
 
#define BIO_TYPE_BIO   (19|BIO_TYPE_SOURCE_SINK)/* half a BIO pair */
 
#define BIO_TYPE_LINEBUFFER   (20|BIO_TYPE_FILTER)
 
#define BIO_TYPE_DGRAM   (21|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_ASN1   (22|BIO_TYPE_FILTER)
 
#define BIO_TYPE_COMP   (23|BIO_TYPE_FILTER)
 
#define BIO_TYPE_DGRAM_SCTP   (24|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)
 
#define BIO_TYPE_START   128
 
#define BIO_NOCLOSE   0x00
 
#define BIO_CLOSE   0x01
 
#define BIO_CTRL_RESET   1/* opt - rewind/zero etc */
 
#define BIO_CTRL_EOF   2/* opt - are we at the eof */
 
#define BIO_CTRL_INFO   3/* opt - extra tit-bits */
 
#define BIO_CTRL_SET   4/* man - set the 'IO' type */
 
#define BIO_CTRL_GET   5/* man - get the 'IO' type */
 
#define BIO_CTRL_PUSH   6/* opt - internal, used to signify change */
 
#define BIO_CTRL_POP   7/* opt - internal, used to signify change */
 
#define BIO_CTRL_GET_CLOSE   8/* man - set the 'close' on free */
 
#define BIO_CTRL_SET_CLOSE   9/* man - set the 'close' on free */
 
#define BIO_CTRL_PENDING   10/* opt - is their more data buffered */
 
#define BIO_CTRL_FLUSH   11/* opt - 'flush' buffered output */
 
#define BIO_CTRL_DUP   12/* man - extra stuff for 'duped' BIO */
 
#define BIO_CTRL_WPENDING   13/* opt - number of bytes still to write */
 
#define BIO_CTRL_SET_CALLBACK   14/* opt - set callback function */
 
#define BIO_CTRL_GET_CALLBACK   15/* opt - set callback function */
 
#define BIO_CTRL_PEEK   29/* BIO_f_buffer special */
 
#define BIO_CTRL_SET_FILENAME   30/* BIO_s_file special */
 
#define BIO_CTRL_DGRAM_CONNECT   31/* BIO dgram special */
 
#define BIO_CTRL_DGRAM_SET_CONNECTED
 
#define BIO_CTRL_DGRAM_SET_RECV_TIMEOUT   33/* setsockopt, essentially */
 
#define BIO_CTRL_DGRAM_GET_RECV_TIMEOUT   34/* getsockopt, essentially */
 
#define BIO_CTRL_DGRAM_SET_SEND_TIMEOUT   35/* setsockopt, essentially */
 
#define BIO_CTRL_DGRAM_GET_SEND_TIMEOUT   36/* getsockopt, essentially */
 
#define BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP   37/* flag whether the last */
 
#define BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP   38/* I/O operation tiemd out */
 
#define BIO_CTRL_DGRAM_MTU_DISCOVER   39/* set DF bit on egress packets */
 
#define BIO_CTRL_DGRAM_QUERY_MTU   40/* as kernel for current MTU */
 
#define BIO_CTRL_DGRAM_GET_FALLBACK_MTU   47
 
#define BIO_CTRL_DGRAM_GET_MTU   41/* get cached value for MTU */
 
#define BIO_CTRL_DGRAM_SET_MTU
 
#define BIO_CTRL_DGRAM_MTU_EXCEEDED
 
#define BIO_CTRL_DGRAM_GET_PEER   46
 
#define BIO_CTRL_DGRAM_SET_PEER   44/* Destination for the data */
 
#define BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT
 
#define BIO_CTRL_DGRAM_SET_DONT_FRAG   48
 
#define BIO_CTRL_DGRAM_GET_MTU_OVERHEAD   49
 
#define BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE   50
 
#define BIO_CTRL_DGRAM_SCTP_ADD_AUTH_KEY   51
 
#define BIO_CTRL_DGRAM_SCTP_NEXT_AUTH_KEY   52
 
#define BIO_CTRL_DGRAM_SCTP_AUTH_CCS_RCVD   53
 
#define BIO_CTRL_DGRAM_SCTP_GET_SNDINFO   60
 
#define BIO_CTRL_DGRAM_SCTP_SET_SNDINFO   61
 
#define BIO_CTRL_DGRAM_SCTP_GET_RCVINFO   62
 
#define BIO_CTRL_DGRAM_SCTP_SET_RCVINFO   63
 
#define BIO_CTRL_DGRAM_SCTP_GET_PRINFO   64
 
#define BIO_CTRL_DGRAM_SCTP_SET_PRINFO   65
 
#define BIO_CTRL_DGRAM_SCTP_SAVE_SHUTDOWN   70
 
#define BIO_CTRL_DGRAM_SET_PEEK_MODE   71
 
#define BIO_FP_READ   0x02
 
#define BIO_FP_WRITE   0x04
 
#define BIO_FP_APPEND   0x08
 
#define BIO_FP_TEXT   0x10
 
#define BIO_FLAGS_READ   0x01
 
#define BIO_FLAGS_WRITE   0x02
 
#define BIO_FLAGS_IO_SPECIAL   0x04
 
#define BIO_FLAGS_RWS   (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL)
 
#define BIO_FLAGS_SHOULD_RETRY   0x08
 
#define BIO_FLAGS_UPLINK   0
 
#define BIO_FLAGS_BASE64_NO_NL   0x100
 
#define BIO_FLAGS_MEM_RDONLY   0x200
 
#define BIO_FLAGS_NONCLEAR_RST   0x400
 
#define BIO_FLAGS_IN_EOF   0x800
 
#define BIO_get_flags(b)   BIO_test_flags(b, ~(0x0))
 
#define BIO_set_retry_special(b)    BIO_set_flags(b, (BIO_FLAGS_IO_SPECIAL|BIO_FLAGS_SHOULD_RETRY))
 
#define BIO_set_retry_read(b)    BIO_set_flags(b, (BIO_FLAGS_READ|BIO_FLAGS_SHOULD_RETRY))
 
#define BIO_set_retry_write(b)    BIO_set_flags(b, (BIO_FLAGS_WRITE|BIO_FLAGS_SHOULD_RETRY))
 
#define BIO_clear_retry_flags(b)    BIO_clear_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
 
#define BIO_get_retry_flags(b)    BIO_test_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
 
#define BIO_should_read(a)   BIO_test_flags(a, BIO_FLAGS_READ)
 
#define BIO_should_write(a)   BIO_test_flags(a, BIO_FLAGS_WRITE)
 
#define BIO_should_io_special(a)   BIO_test_flags(a, BIO_FLAGS_IO_SPECIAL)
 
#define BIO_retry_type(a)   BIO_test_flags(a, BIO_FLAGS_RWS)
 
#define BIO_should_retry(a)   BIO_test_flags(a, BIO_FLAGS_SHOULD_RETRY)
 
#define BIO_RR_SSL_X509_LOOKUP   0x01
 
#define BIO_RR_CONNECT   0x02
 
#define BIO_RR_ACCEPT   0x03
 
#define BIO_CB_FREE   0x01
 
#define BIO_CB_READ   0x02
 
#define BIO_CB_WRITE   0x03
 
#define BIO_CB_PUTS   0x04
 
#define BIO_CB_GETS   0x05
 
#define BIO_CB_CTRL   0x06
 
#define BIO_CB_RETURN   0x80
 
#define BIO_CB_return(a)   ((a)|BIO_CB_RETURN)
 
#define BIO_cb_pre(a)   (!((a)&BIO_CB_RETURN))
 
#define BIO_cb_post(a)   ((a)&BIO_CB_RETURN)
 
#define BIO_C_SET_CONNECT   100
 
#define BIO_C_DO_STATE_MACHINE   101
 
#define BIO_C_SET_NBIO   102
 
#define BIO_C_SET_FD   104
 
#define BIO_C_GET_FD   105
 
#define BIO_C_SET_FILE_PTR   106
 
#define BIO_C_GET_FILE_PTR   107
 
#define BIO_C_SET_FILENAME   108
 
#define BIO_C_SET_SSL   109
 
#define BIO_C_GET_SSL   110
 
#define BIO_C_SET_MD   111
 
#define BIO_C_GET_MD   112
 
#define BIO_C_GET_CIPHER_STATUS   113
 
#define BIO_C_SET_BUF_MEM   114
 
#define BIO_C_GET_BUF_MEM_PTR   115
 
#define BIO_C_GET_BUFF_NUM_LINES   116
 
#define BIO_C_SET_BUFF_SIZE   117
 
#define BIO_C_SET_ACCEPT   118
 
#define BIO_C_SSL_MODE   119
 
#define BIO_C_GET_MD_CTX   120
 
#define BIO_C_SET_BUFF_READ_DATA   122/* data to read first */
 
#define BIO_C_GET_CONNECT   123
 
#define BIO_C_GET_ACCEPT   124
 
#define BIO_C_SET_SSL_RENEGOTIATE_BYTES   125
 
#define BIO_C_GET_SSL_NUM_RENEGOTIATES   126
 
#define BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT   127
 
#define BIO_C_FILE_SEEK   128
 
#define BIO_C_GET_CIPHER_CTX   129
 
#define BIO_C_SET_BUF_MEM_EOF_RETURN
 
#define BIO_C_SET_BIND_MODE   131
 
#define BIO_C_GET_BIND_MODE   132
 
#define BIO_C_FILE_TELL   133
 
#define BIO_C_GET_SOCKS   134
 
#define BIO_C_SET_SOCKS   135
 
#define BIO_C_SET_WRITE_BUF_SIZE   136/* for BIO_s_bio */
 
#define BIO_C_GET_WRITE_BUF_SIZE   137
 
#define BIO_C_MAKE_BIO_PAIR   138
 
#define BIO_C_DESTROY_BIO_PAIR   139
 
#define BIO_C_GET_WRITE_GUARANTEE   140
 
#define BIO_C_GET_READ_REQUEST   141
 
#define BIO_C_SHUTDOWN_WR   142
 
#define BIO_C_NREAD0   143
 
#define BIO_C_NREAD   144
 
#define BIO_C_NWRITE0   145
 
#define BIO_C_NWRITE   146
 
#define BIO_C_RESET_READ_REQUEST   147
 
#define BIO_C_SET_MD_CTX   148
 
#define BIO_C_SET_PREFIX   149
 
#define BIO_C_GET_PREFIX   150
 
#define BIO_C_SET_SUFFIX   151
 
#define BIO_C_GET_SUFFIX   152
 
#define BIO_C_SET_EX_ARG   153
 
#define BIO_C_GET_EX_ARG   154
 
#define BIO_C_SET_CONNECT_MODE   155
 
#define BIO_set_app_data(s, arg)   BIO_set_ex_data(s,0,arg)
 
#define BIO_get_app_data(s)   BIO_get_ex_data(s,0)
 
#define BIO_set_nbio(b, n)   BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL)
 
#define BIO_FAMILY_IPV4   4
 
#define BIO_FAMILY_IPV6   6
 
#define BIO_FAMILY_IPANY   256
 
#define BIO_set_conn_hostname(b, name)
 
#define BIO_set_conn_port(b, port)
 
#define BIO_set_conn_address(b, addr)
 
#define BIO_set_conn_ip_family(b, f)   BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,f)
 
#define BIO_get_conn_hostname(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0))
 
#define BIO_get_conn_port(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1))
 
#define BIO_get_conn_address(b)   ((const BIO_ADDR *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2))
 
#define BIO_get_conn_ip_family(b)   BIO_ctrl(b,BIO_C_GET_CONNECT,3,NULL)
 
#define BIO_set_conn_mode(b, n)   BIO_ctrl(b,BIO_C_SET_CONNECT_MODE,(n),NULL)
 
#define BIO_set_accept_name(b, name)
 
#define BIO_set_accept_port(b, port)
 
#define BIO_get_accept_name(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,0))
 
#define BIO_get_accept_port(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,1))
 
#define BIO_get_peer_name(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,2))
 
#define BIO_get_peer_port(b)   ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,3))
 
#define BIO_set_nbio_accept(b, n)   BIO_ctrl(b,BIO_C_SET_ACCEPT,2,(n)?(void *)"a":NULL)
 
#define BIO_set_accept_bios(b, bio)
 
#define BIO_set_accept_ip_family(b, f)   BIO_int_ctrl(b,BIO_C_SET_ACCEPT,4,f)
 
#define BIO_get_accept_ip_family(b)   BIO_ctrl(b,BIO_C_GET_ACCEPT,4,NULL)
 
#define BIO_BIND_NORMAL   0
 
#define BIO_BIND_REUSEADDR   BIO_SOCK_REUSEADDR
 
#define BIO_BIND_REUSEADDR_IF_UNUSED   BIO_SOCK_REUSEADDR
 
#define BIO_set_bind_mode(b, mode)   BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)
 
#define BIO_get_bind_mode(b)   BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)
 
#define BIO_do_connect(b)   BIO_do_handshake(b)
 
#define BIO_do_accept(b)   BIO_do_handshake(b)
 
#define BIO_do_handshake(b)   BIO_ctrl(b,BIO_C_DO_STATE_MACHINE,0,NULL)
 
#define BIO_set_fd(b, fd, c)   BIO_int_ctrl(b,BIO_C_SET_FD,c,fd)
 
#define BIO_get_fd(b, c)   BIO_ctrl(b,BIO_C_GET_FD,0,(char *)(c))
 
#define BIO_set_fp(b, fp, c)   BIO_ctrl(b,BIO_C_SET_FILE_PTR,c,(char *)(fp))
 
#define BIO_get_fp(b, fpp)   BIO_ctrl(b,BIO_C_GET_FILE_PTR,0,(char *)(fpp))
 
#define BIO_seek(b, ofs)   (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
 
#define BIO_tell(b)   (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)
 
#define BIO_read_filename(b, name)
 
#define BIO_write_filename(b, name)
 
#define BIO_append_filename(b, name)
 
#define BIO_rw_filename(b, name)
 
#define BIO_set_ssl(b, ssl, c)   BIO_ctrl(b,BIO_C_SET_SSL,c,(char *)(ssl))
 
#define BIO_get_ssl(b, sslp)   BIO_ctrl(b,BIO_C_GET_SSL,0,(char *)(sslp))
 
#define BIO_set_ssl_mode(b, client)   BIO_ctrl(b,BIO_C_SSL_MODE,client,NULL)
 
#define BIO_set_ssl_renegotiate_bytes(b, num)    BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_BYTES,num,NULL)
 
#define BIO_get_num_renegotiates(b)    BIO_ctrl(b,BIO_C_GET_SSL_NUM_RENEGOTIATES,0,NULL)
 
#define BIO_set_ssl_renegotiate_timeout(b, seconds)    BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT,seconds,NULL)
 
#define BIO_get_mem_data(b, pp)   BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)(pp))
 
#define BIO_set_mem_buf(b, bm, c)   BIO_ctrl(b,BIO_C_SET_BUF_MEM,c,(char *)(bm))
 
#define BIO_get_mem_ptr(b, pp)
 
#define BIO_set_mem_eof_return(b, v)    BIO_ctrl(b,BIO_C_SET_BUF_MEM_EOF_RETURN,v,NULL)
 
#define BIO_get_buffer_num_lines(b)   BIO_ctrl(b,BIO_C_GET_BUFF_NUM_LINES,0,NULL)
 
#define BIO_set_buffer_size(b, size)   BIO_ctrl(b,BIO_C_SET_BUFF_SIZE,size,NULL)
 
#define BIO_set_read_buffer_size(b, size)   BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,0)
 
#define BIO_set_write_buffer_size(b, size)   BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,1)
 
#define BIO_set_buffer_read_data(b, buf, num)   BIO_ctrl(b,BIO_C_SET_BUFF_READ_DATA,num,buf)
 
#define BIO_dup_state(b, ret)   BIO_ctrl(b,BIO_CTRL_DUP,0,(char *)(ret))
 
#define BIO_reset(b)   (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
 
#define BIO_eof(b)   (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL)
 
#define BIO_set_close(b, c)   (int)BIO_ctrl(b,BIO_CTRL_SET_CLOSE,(c),NULL)
 
#define BIO_get_close(b)   (int)BIO_ctrl(b,BIO_CTRL_GET_CLOSE,0,NULL)
 
#define BIO_pending(b)   (int)BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
 
#define BIO_wpending(b)   (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL)
 
#define BIO_flush(b)   (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL)
 
#define BIO_get_info_callback(b, cbp)
 
#define BIO_set_info_callback(b, cb)   (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb)
 
#define BIO_buffer_get_num_lines(b)   BIO_ctrl(b,BIO_CTRL_GET,0,NULL)
 
#define BIO_buffer_peek(b, s, l)   BIO_ctrl(b,BIO_CTRL_PEEK,(l),(s))
 
#define BIO_set_write_buf_size(b, size)   (int)BIO_ctrl(b,BIO_C_SET_WRITE_BUF_SIZE,size,NULL)
 
#define BIO_get_write_buf_size(b, size)   (size_t)BIO_ctrl(b,BIO_C_GET_WRITE_BUF_SIZE,size,NULL)
 
#define BIO_make_bio_pair(b1, b2)   (int)BIO_ctrl(b1,BIO_C_MAKE_BIO_PAIR,0,b2)
 
#define BIO_destroy_bio_pair(b)   (int)BIO_ctrl(b,BIO_C_DESTROY_BIO_PAIR,0,NULL)
 
#define BIO_shutdown_wr(b)   (int)BIO_ctrl(b, BIO_C_SHUTDOWN_WR, 0, NULL)
 
#define BIO_get_write_guarantee(b)   (int)BIO_ctrl(b,BIO_C_GET_WRITE_GUARANTEE,0,NULL)
 
#define BIO_get_read_request(b)   (int)BIO_ctrl(b,BIO_C_GET_READ_REQUEST,0,NULL)
 
#define BIO_ctrl_dgram_connect(b, peer)    (int)BIO_ctrl(b,BIO_CTRL_DGRAM_CONNECT,0, (char *)(peer))
 
#define BIO_ctrl_set_connected(b, peer)    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_CONNECTED, 0, (char *)(peer))
 
#define BIO_dgram_recv_timedout(b)    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP, 0, NULL)
 
#define BIO_dgram_send_timedout(b)    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP, 0, NULL)
 
#define BIO_dgram_get_peer(b, peer)    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_PEER, 0, (char *)(peer))
 
#define BIO_dgram_set_peer(b, peer)    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_PEER, 0, (char *)(peer))
 
#define BIO_dgram_get_mtu_overhead(b)    (unsigned int)BIO_ctrl((b), BIO_CTRL_DGRAM_GET_MTU_OVERHEAD, 0, NULL)
 
#define BIO_get_ex_new_index(l, p, newf, dupf, freef)    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_BIO, l, p, newf, dupf, freef)
 
#define BIO_sock_cleanup()   while(0) continue
 
#define BIO_SOCK_REUSEADDR   0x01
 
#define BIO_SOCK_V6_ONLY   0x02
 
#define BIO_SOCK_KEEPALIVE   0x04
 
#define BIO_SOCK_NONBLOCK   0x08
 
#define BIO_SOCK_NODELAY   0x10
 
#define ossl_bio__attr__(x)
 

Typedefs

typedef union bio_addr_st BIO_ADDR
 
typedef struct bio_addrinfo_st BIO_ADDRINFO
 
typedef long(* BIO_callback_fn) (BIO *b, int oper, const char *argp, int argi, long argl, long ret)
 
typedef long(* BIO_callback_fn_ex) (BIO *b, int oper, const char *argp, size_t len, int argi, long argl, int ret, size_t *processed)
 
typedef struct bio_method_st BIO_METHOD
 
typedef int BIO_info_cb(BIO *, int, int)
 
typedef BIO_info_cb bio_info_cb
 
typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg)
 

Enumerations

enum  BIO_hostserv_priorities { BIO_PARSE_PRIO_HOST , BIO_PARSE_PRIO_SERV }
 
enum  BIO_lookup_type { BIO_LOOKUP_CLIENT , BIO_LOOKUP_SERVER }
 
enum  BIO_sock_info_type { BIO_SOCK_INFO_ADDRESS }
 

Functions

int BIO_get_new_index (void)
 
void BIO_set_flags (BIO *b, int flags)
 
int BIO_test_flags (const BIO *b, int flags)
 
void BIO_clear_flags (BIO *b, int flags)
 
BIO_callback_fn BIO_get_callback (const BIO *b)
 
void BIO_set_callback (BIO *b, BIO_callback_fn callback)
 
BIO_callback_fn_ex BIO_get_callback_ex (const BIO *b)
 
void BIO_set_callback_ex (BIO *b, BIO_callback_fn_ex callback)
 
char * BIO_get_callback_arg (const BIO *b)
 
void BIO_set_callback_arg (BIO *b, char *arg)
 
const char * BIO_method_name (const BIO *b)
 
int BIO_method_type (const BIO *b)
 
size_t BIO_ctrl_pending (BIO *b)
 
size_t BIO_ctrl_wpending (BIO *b)
 
size_t BIO_ctrl_get_write_guarantee (BIO *b)
 
size_t BIO_ctrl_get_read_request (BIO *b)
 
int BIO_ctrl_reset_read_request (BIO *b)
 
int BIO_set_ex_data (BIO *bio, int idx, void *data)
 
void * BIO_get_ex_data (BIO *bio, int idx)
 
uint64_t BIO_number_read (BIO *bio)
 
uint64_t BIO_number_written (BIO *bio)
 
int BIO_asn1_set_prefix (BIO *b, asn1_ps_func *prefix, asn1_ps_func *prefix_free)
 
int BIO_asn1_get_prefix (BIO *b, asn1_ps_func **pprefix, asn1_ps_func **pprefix_free)
 
int BIO_asn1_set_suffix (BIO *b, asn1_ps_func *suffix, asn1_ps_func *suffix_free)
 
int BIO_asn1_get_suffix (BIO *b, asn1_ps_func **psuffix, asn1_ps_func **psuffix_free)
 
const BIO_METHODBIO_s_file (void)
 
BIOBIO_new_file (const char *filename, const char *mode)
 
BIOBIO_new_fp (FILE *stream, int close_flag)
 
BIOBIO_new (const BIO_METHOD *type)
 
int BIO_free (BIO *a)
 
void BIO_set_data (BIO *a, void *ptr)
 
void * BIO_get_data (BIO *a)
 
void BIO_set_init (BIO *a, int init)
 
int BIO_get_init (BIO *a)
 
void BIO_set_shutdown (BIO *a, int shut)
 
int BIO_get_shutdown (BIO *a)
 
void BIO_vfree (BIO *a)
 
int BIO_up_ref (BIO *a)
 
int BIO_read (BIO *b, void *data, int dlen)
 
int BIO_read_ex (BIO *b, void *data, size_t dlen, size_t *readbytes)
 
int BIO_gets (BIO *bp, char *buf, int size)
 
int BIO_write (BIO *b, const void *data, int dlen)
 
int BIO_write_ex (BIO *b, const void *data, size_t dlen, size_t *written)
 
int BIO_puts (BIO *bp, const char *buf)
 
int BIO_indent (BIO *b, int indent, int max)
 
long BIO_ctrl (BIO *bp, int cmd, long larg, void *parg)
 
long BIO_callback_ctrl (BIO *b, int cmd, BIO_info_cb *fp)
 
void * BIO_ptr_ctrl (BIO *bp, int cmd, long larg)
 
long BIO_int_ctrl (BIO *bp, int cmd, long larg, int iarg)
 
BIOBIO_push (BIO *b, BIO *append)
 
BIOBIO_pop (BIO *b)
 
void BIO_free_all (BIO *a)
 
BIOBIO_find_type (BIO *b, int bio_type)
 
BIOBIO_next (BIO *b)
 
void BIO_set_next (BIO *b, BIO *next)
 
BIOBIO_get_retry_BIO (BIO *bio, int *reason)
 
int BIO_get_retry_reason (BIO *bio)
 
void BIO_set_retry_reason (BIO *bio, int reason)
 
BIOBIO_dup_chain (BIO *in)
 
int BIO_nread0 (BIO *bio, char **buf)
 
int BIO_nread (BIO *bio, char **buf, int num)
 
int BIO_nwrite0 (BIO *bio, char **buf)
 
int BIO_nwrite (BIO *bio, char **buf, int num)
 
long BIO_debug_callback (BIO *bio, int cmd, const char *argp, int argi, long argl, long ret)
 
const BIO_METHODBIO_s_mem (void)
 
const BIO_METHODBIO_s_secmem (void)
 
BIOBIO_new_mem_buf (const void *buf, int len)
 
const BIO_METHODBIO_s_socket (void)
 
const BIO_METHODBIO_s_connect (void)
 
const BIO_METHODBIO_s_accept (void)
 
const BIO_METHODBIO_s_fd (void)
 
const BIO_METHODBIO_s_log (void)
 
const BIO_METHODBIO_s_bio (void)
 
const BIO_METHODBIO_s_null (void)
 
const BIO_METHODBIO_f_null (void)
 
const BIO_METHODBIO_f_buffer (void)
 
const BIO_METHODBIO_f_linebuffer (void)
 
const BIO_METHODBIO_f_nbio_test (void)
 
const BIO_METHODBIO_s_datagram (void)
 
int BIO_dgram_non_fatal_error (int error)
 
BIOBIO_new_dgram (int fd, int close_flag)
 
const BIO_METHODBIO_s_datagram_sctp (void)
 
BIOBIO_new_dgram_sctp (int fd, int close_flag)
 
int BIO_dgram_is_sctp (BIO *bio)
 
int BIO_dgram_sctp_notification_cb (BIO *b, void(*handle_notifications)(BIO *bio, void *context, void *buf), void *context)
 
int BIO_dgram_sctp_wait_for_dry (BIO *b)
 
int BIO_dgram_sctp_msg_waiting (BIO *b)
 
int BIO_sock_should_retry (int i)
 
int BIO_sock_non_fatal_error (int error)
 
int BIO_fd_should_retry (int i)
 
int BIO_fd_non_fatal_error (int error)
 
int BIO_dump_cb (int(*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len)
 
int BIO_dump_indent_cb (int(*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len, int indent)
 
int BIO_dump (BIO *b, const char *bytes, int len)
 
int BIO_dump_indent (BIO *b, const char *bytes, int len, int indent)
 
int BIO_dump_fp (FILE *fp, const char *s, int len)
 
int BIO_dump_indent_fp (FILE *fp, const char *s, int len, int indent)
 
int BIO_hex_string (BIO *out, int indent, int width, unsigned char *data, int datalen)
 
BIO_ADDRBIO_ADDR_new (void)
 
int BIO_ADDR_rawmake (BIO_ADDR *ap, int family, const void *where, size_t wherelen, unsigned short port)
 
void BIO_ADDR_free (BIO_ADDR *)
 
void BIO_ADDR_clear (BIO_ADDR *ap)
 
int BIO_ADDR_family (const BIO_ADDR *ap)
 
int BIO_ADDR_rawaddress (const BIO_ADDR *ap, void *p, size_t *l)
 
unsigned short BIO_ADDR_rawport (const BIO_ADDR *ap)
 
char * BIO_ADDR_hostname_string (const BIO_ADDR *ap, int numeric)
 
char * BIO_ADDR_service_string (const BIO_ADDR *ap, int numeric)
 
char * BIO_ADDR_path_string (const BIO_ADDR *ap)
 
const BIO_ADDRINFOBIO_ADDRINFO_next (const BIO_ADDRINFO *bai)
 
int BIO_ADDRINFO_family (const BIO_ADDRINFO *bai)
 
int BIO_ADDRINFO_socktype (const BIO_ADDRINFO *bai)
 
int BIO_ADDRINFO_protocol (const BIO_ADDRINFO *bai)
 
const BIO_ADDRBIO_ADDRINFO_address (const BIO_ADDRINFO *bai)
 
void BIO_ADDRINFO_free (BIO_ADDRINFO *bai)
 
int BIO_parse_hostserv (const char *hostserv, char **host, char **service, enum BIO_hostserv_priorities hostserv_prio)
 
int BIO_lookup (const char *host, const char *service, enum BIO_lookup_type lookup_type, int family, int socktype, BIO_ADDRINFO **res)
 
int BIO_lookup_ex (const char *host, const char *service, int lookup_type, int family, int socktype, int protocol, BIO_ADDRINFO **res)
 
int BIO_sock_error (int sock)
 
int BIO_socket_ioctl (int fd, long type, void *arg)
 
int BIO_socket_nbio (int fd, int mode)
 
int BIO_sock_init (void)
 
int BIO_set_tcp_ndelay (int sock, int turn_on)
 
int BIO_sock_info (int sock, enum BIO_sock_info_type type, union BIO_sock_info_u *info)
 
int BIO_socket (int domain, int socktype, int protocol, int options)
 
int BIO_connect (int sock, const BIO_ADDR *addr, int options)
 
int BIO_bind (int sock, const BIO_ADDR *addr, int options)
 
int BIO_listen (int sock, const BIO_ADDR *addr, int options)
 
int BIO_accept_ex (int accept_sock, BIO_ADDR *addr, int options)
 
int BIO_closesocket (int sock)
 
BIOBIO_new_socket (int sock, int close_flag)
 
BIOBIO_new_connect (const char *host_port)
 
BIOBIO_new_accept (const char *host_port)
 
BIOBIO_new_fd (int fd, int close_flag)
 
int BIO_new_bio_pair (BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2)
 
void BIO_copy_next_retry (BIO *b)
 
int BIO_printf (BIO *bio, const char *format,...) ossl_bio__attr__((__format__(ossl_bio__printf__
 
int int BIO_vprintf (BIO *bio, const char *format, va_list args) ossl_bio__attr__((__format__(ossl_bio__printf__
 
int int int BIO_snprintf (char *buf, size_t n, const char *format,...) ossl_bio__attr__((__format__(ossl_bio__printf__
 
int int int int BIO_vsnprintf (char *buf, size_t n, const char *format, va_list args) ossl_bio__attr__((__format__(ossl_bio__printf__
 
int int int int BIO_METHODBIO_meth_new (int type, const char *name)
 
void BIO_meth_free (BIO_METHOD *biom)
 
int BIO_meth_set_write (BIO_METHOD *biom, int(*write)(BIO *, const char *, int))
 
int BIO_meth_set_write_ex (BIO_METHOD *biom, int(*bwrite)(BIO *, const char *, size_t, size_t *))
 
int BIO_meth_set_read (BIO_METHOD *biom, int(*read)(BIO *, char *, int))
 
int BIO_meth_set_read_ex (BIO_METHOD *biom, int(*bread)(BIO *, char *, size_t, size_t *))
 
int BIO_meth_set_puts (BIO_METHOD *biom, int(*puts)(BIO *, const char *))
 
int BIO_meth_set_gets (BIO_METHOD *biom, int(*gets)(BIO *, char *, int))
 
int BIO_meth_set_ctrl (BIO_METHOD *biom, long(*ctrl)(BIO *, int, long, void *))
 
int BIO_meth_set_create (BIO_METHOD *biom, int(*create)(BIO *))
 
int BIO_meth_set_destroy (BIO_METHOD *biom, int(*destroy)(BIO *))
 
int BIO_meth_set_callback_ctrl (BIO_METHOD *biom, long(*callback_ctrl)(BIO *, int, BIO_info_cb *))
 

Variables

int(*)(BIO *, const char *, int) BIO_meth_get_write (const BIO_METHOD *biom)
 
int(*)(BIO *, const char *, size_t, size_t *) BIO_meth_get_write_ex (const BIO_METHOD *biom)
 
int(*)(BIO *, char *, int) BIO_meth_get_read (const BIO_METHOD *biom)
 
int(*)(BIO *, char *, size_t, size_t *) BIO_meth_get_read_ex (const BIO_METHOD *biom)
 
int(*)(BIO *, const char *) BIO_meth_get_puts (const BIO_METHOD *biom)
 
int(*)(BIO *, char *, int) BIO_meth_get_gets (const BIO_METHOD *biom)
 
long(*)(BIO *, int, long, void *) BIO_meth_get_ctrl (const BIO_METHOD *biom)
 
int(*)(BIO *) BIO_meth_get_create (const BIO_METHOD *bion)
 
int(*)(BIO *) BIO_meth_get_destroy (const BIO_METHOD *biom)
 
long(*)(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl (const BIO_METHOD *biom)
 

Macro Definition Documentation

◆ BIO_append_filename

#define BIO_append_filename ( b,
name )
Value:
long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg)
#define BIO_C_SET_FILENAME
Definition bio.h:295
#define BIO_CLOSE
Definition bio.h:66
#define BIO_FP_APPEND
Definition bio.h:141
BIGNUM BIGNUM BIGNUM * b
Definition ec.h:275

Definition at line 432 of file bio.h.

◆ BIO_BIND_NORMAL

#define BIO_BIND_NORMAL   0

Definition at line 391 of file bio.h.

◆ BIO_BIND_REUSEADDR

#define BIO_BIND_REUSEADDR   BIO_SOCK_REUSEADDR

Definition at line 392 of file bio.h.

◆ BIO_BIND_REUSEADDR_IF_UNUSED

#define BIO_BIND_REUSEADDR_IF_UNUSED   BIO_SOCK_REUSEADDR

Definition at line 393 of file bio.h.

◆ BIO_buffer_get_num_lines

#define BIO_buffer_get_num_lines ( b)    BIO_ctrl(b,BIO_CTRL_GET,0,NULL)

Definition at line 488 of file bio.h.

◆ BIO_buffer_peek

#define BIO_buffer_peek ( b,
s,
l )   BIO_ctrl(b,BIO_CTRL_PEEK,(l),(s))

Definition at line 489 of file bio.h.

◆ BIO_C_DESTROY_BIO_PAIR

#define BIO_C_DESTROY_BIO_PAIR   139

Definition at line 327 of file bio.h.

◆ BIO_C_DO_STATE_MACHINE

#define BIO_C_DO_STATE_MACHINE   101

Definition at line 288 of file bio.h.

◆ BIO_C_FILE_SEEK

#define BIO_C_FILE_SEEK   128

Definition at line 315 of file bio.h.

◆ BIO_C_FILE_TELL

#define BIO_C_FILE_TELL   133

Definition at line 320 of file bio.h.

◆ BIO_C_GET_ACCEPT

#define BIO_C_GET_ACCEPT   124

Definition at line 311 of file bio.h.

◆ BIO_C_GET_BIND_MODE

#define BIO_C_GET_BIND_MODE   132

Definition at line 319 of file bio.h.

◆ BIO_C_GET_BUF_MEM_PTR

#define BIO_C_GET_BUF_MEM_PTR   115

Definition at line 302 of file bio.h.

◆ BIO_C_GET_BUFF_NUM_LINES

#define BIO_C_GET_BUFF_NUM_LINES   116

Definition at line 303 of file bio.h.

◆ BIO_C_GET_CIPHER_CTX

#define BIO_C_GET_CIPHER_CTX   129

Definition at line 316 of file bio.h.

◆ BIO_C_GET_CIPHER_STATUS

#define BIO_C_GET_CIPHER_STATUS   113

Definition at line 300 of file bio.h.

◆ BIO_C_GET_CONNECT

#define BIO_C_GET_CONNECT   123

Definition at line 310 of file bio.h.

◆ BIO_C_GET_EX_ARG

#define BIO_C_GET_EX_ARG   154

Definition at line 344 of file bio.h.

◆ BIO_C_GET_FD

#define BIO_C_GET_FD   105

Definition at line 292 of file bio.h.

◆ BIO_C_GET_FILE_PTR

#define BIO_C_GET_FILE_PTR   107

Definition at line 294 of file bio.h.

◆ BIO_C_GET_MD

#define BIO_C_GET_MD   112

Definition at line 299 of file bio.h.

◆ BIO_C_GET_MD_CTX

#define BIO_C_GET_MD_CTX   120

Definition at line 307 of file bio.h.

◆ BIO_C_GET_PREFIX

#define BIO_C_GET_PREFIX   150

Definition at line 339 of file bio.h.

◆ BIO_C_GET_READ_REQUEST

#define BIO_C_GET_READ_REQUEST   141

Definition at line 329 of file bio.h.

◆ BIO_C_GET_SOCKS

#define BIO_C_GET_SOCKS   134

Definition at line 321 of file bio.h.

◆ BIO_C_GET_SSL

#define BIO_C_GET_SSL   110

Definition at line 297 of file bio.h.

◆ BIO_C_GET_SSL_NUM_RENEGOTIATES

#define BIO_C_GET_SSL_NUM_RENEGOTIATES   126

Definition at line 313 of file bio.h.

◆ BIO_C_GET_SUFFIX

#define BIO_C_GET_SUFFIX   152

Definition at line 341 of file bio.h.

◆ BIO_C_GET_WRITE_BUF_SIZE

#define BIO_C_GET_WRITE_BUF_SIZE   137

Definition at line 325 of file bio.h.

◆ BIO_C_GET_WRITE_GUARANTEE

#define BIO_C_GET_WRITE_GUARANTEE   140

Definition at line 328 of file bio.h.

◆ BIO_C_MAKE_BIO_PAIR

#define BIO_C_MAKE_BIO_PAIR   138

Definition at line 326 of file bio.h.

◆ BIO_C_NREAD

#define BIO_C_NREAD   144

Definition at line 332 of file bio.h.

◆ BIO_C_NREAD0

#define BIO_C_NREAD0   143

Definition at line 331 of file bio.h.

◆ BIO_C_NWRITE

#define BIO_C_NWRITE   146

Definition at line 334 of file bio.h.

◆ BIO_C_NWRITE0

#define BIO_C_NWRITE0   145

Definition at line 333 of file bio.h.

◆ BIO_C_RESET_READ_REQUEST

#define BIO_C_RESET_READ_REQUEST   147

Definition at line 335 of file bio.h.

◆ BIO_C_SET_ACCEPT

#define BIO_C_SET_ACCEPT   118

Definition at line 305 of file bio.h.

◆ BIO_C_SET_BIND_MODE

#define BIO_C_SET_BIND_MODE   131

Definition at line 318 of file bio.h.

◆ BIO_C_SET_BUF_MEM

#define BIO_C_SET_BUF_MEM   114

Definition at line 301 of file bio.h.

◆ BIO_C_SET_BUF_MEM_EOF_RETURN

#define BIO_C_SET_BUF_MEM_EOF_RETURN
Value:
130/* return end of input
* value */

Definition at line 317 of file bio.h.

◆ BIO_C_SET_BUFF_READ_DATA

#define BIO_C_SET_BUFF_READ_DATA   122/* data to read first */

Definition at line 309 of file bio.h.

◆ BIO_C_SET_BUFF_SIZE

#define BIO_C_SET_BUFF_SIZE   117

Definition at line 304 of file bio.h.

◆ BIO_C_SET_CONNECT

#define BIO_C_SET_CONNECT   100

Definition at line 287 of file bio.h.

◆ BIO_C_SET_CONNECT_MODE

#define BIO_C_SET_CONNECT_MODE   155

Definition at line 346 of file bio.h.

◆ BIO_C_SET_EX_ARG

#define BIO_C_SET_EX_ARG   153

Definition at line 343 of file bio.h.

◆ BIO_C_SET_FD

#define BIO_C_SET_FD   104

Definition at line 291 of file bio.h.

◆ BIO_C_SET_FILE_PTR

#define BIO_C_SET_FILE_PTR   106

Definition at line 293 of file bio.h.

◆ BIO_C_SET_FILENAME

#define BIO_C_SET_FILENAME   108

Definition at line 295 of file bio.h.

◆ BIO_C_SET_MD

#define BIO_C_SET_MD   111

Definition at line 298 of file bio.h.

◆ BIO_C_SET_MD_CTX

#define BIO_C_SET_MD_CTX   148

Definition at line 336 of file bio.h.

◆ BIO_C_SET_NBIO

#define BIO_C_SET_NBIO   102

Definition at line 289 of file bio.h.

◆ BIO_C_SET_PREFIX

#define BIO_C_SET_PREFIX   149

Definition at line 338 of file bio.h.

◆ BIO_C_SET_SOCKS

#define BIO_C_SET_SOCKS   135

Definition at line 322 of file bio.h.

◆ BIO_C_SET_SSL

#define BIO_C_SET_SSL   109

Definition at line 296 of file bio.h.

◆ BIO_C_SET_SSL_RENEGOTIATE_BYTES

#define BIO_C_SET_SSL_RENEGOTIATE_BYTES   125

Definition at line 312 of file bio.h.

◆ BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT

#define BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT   127

Definition at line 314 of file bio.h.

◆ BIO_C_SET_SUFFIX

#define BIO_C_SET_SUFFIX   151

Definition at line 340 of file bio.h.

◆ BIO_C_SET_WRITE_BUF_SIZE

#define BIO_C_SET_WRITE_BUF_SIZE   136/* for BIO_s_bio */

Definition at line 324 of file bio.h.

◆ BIO_C_SHUTDOWN_WR

#define BIO_C_SHUTDOWN_WR   142

Definition at line 330 of file bio.h.

◆ BIO_C_SSL_MODE

#define BIO_C_SSL_MODE   119

Definition at line 306 of file bio.h.

◆ BIO_CB_CTRL

#define BIO_CB_CTRL   0x06

Definition at line 219 of file bio.h.

◆ BIO_CB_FREE

#define BIO_CB_FREE   0x01

Definition at line 214 of file bio.h.

◆ BIO_CB_GETS

#define BIO_CB_GETS   0x05

Definition at line 218 of file bio.h.

◆ BIO_cb_post

#define BIO_cb_post ( a)    ((a)&BIO_CB_RETURN)

Definition at line 228 of file bio.h.

◆ BIO_cb_pre

#define BIO_cb_pre ( a)    (!((a)&BIO_CB_RETURN))

Definition at line 227 of file bio.h.

◆ BIO_CB_PUTS

#define BIO_CB_PUTS   0x04

Definition at line 217 of file bio.h.

◆ BIO_CB_READ

#define BIO_CB_READ   0x02

Definition at line 215 of file bio.h.

◆ BIO_CB_RETURN

#define BIO_CB_RETURN   0x80

Definition at line 225 of file bio.h.

◆ BIO_CB_return

#define BIO_CB_return ( a)    ((a)|BIO_CB_RETURN)

Definition at line 226 of file bio.h.

◆ BIO_CB_WRITE

#define BIO_CB_WRITE   0x03

Definition at line 216 of file bio.h.

◆ BIO_clear_retry_flags

#define BIO_clear_retry_flags ( b)     BIO_clear_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))

Definition at line 185 of file bio.h.

◆ BIO_CLOSE

#define BIO_CLOSE   0x01

Definition at line 66 of file bio.h.

◆ BIO_CTRL_DGRAM_CONNECT

#define BIO_CTRL_DGRAM_CONNECT   31/* BIO dgram special */

Definition at line 91 of file bio.h.

◆ BIO_ctrl_dgram_connect

#define BIO_ctrl_dgram_connect ( b,
peer )    (int)BIO_ctrl(b,BIO_CTRL_DGRAM_CONNECT,0, (char *)(peer))

Definition at line 505 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_FALLBACK_MTU

#define BIO_CTRL_DGRAM_GET_FALLBACK_MTU   47

Definition at line 106 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_MTU

#define BIO_CTRL_DGRAM_GET_MTU   41/* get cached value for MTU */

Definition at line 107 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_MTU_OVERHEAD

#define BIO_CTRL_DGRAM_GET_MTU_OVERHEAD   49

Definition at line 118 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_PEER

#define BIO_CTRL_DGRAM_GET_PEER   46

Definition at line 112 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_RECV_TIMEOUT

#define BIO_CTRL_DGRAM_GET_RECV_TIMEOUT   34/* getsockopt, essentially */

Definition at line 94 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP

#define BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP   37/* flag whether the last */

Definition at line 98 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_SEND_TIMEOUT

#define BIO_CTRL_DGRAM_GET_SEND_TIMEOUT   36/* getsockopt, essentially */

Definition at line 96 of file bio.h.

◆ BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP

#define BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP   38/* I/O operation tiemd out */

Definition at line 99 of file bio.h.

◆ BIO_CTRL_DGRAM_MTU_DISCOVER

#define BIO_CTRL_DGRAM_MTU_DISCOVER   39/* set DF bit on egress packets */

Definition at line 102 of file bio.h.

◆ BIO_CTRL_DGRAM_MTU_EXCEEDED

#define BIO_CTRL_DGRAM_MTU_EXCEEDED
Value:
43/* check whether the MTU was
* exceed in the previous write
* operation */

Definition at line 110 of file bio.h.

◆ BIO_CTRL_DGRAM_QUERY_MTU

#define BIO_CTRL_DGRAM_QUERY_MTU   40/* as kernel for current MTU */

Definition at line 105 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_ADD_AUTH_KEY

#define BIO_CTRL_DGRAM_SCTP_ADD_AUTH_KEY   51

Definition at line 124 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_AUTH_CCS_RCVD

#define BIO_CTRL_DGRAM_SCTP_AUTH_CCS_RCVD   53

Definition at line 126 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_GET_PRINFO

#define BIO_CTRL_DGRAM_SCTP_GET_PRINFO   64

Definition at line 131 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_GET_RCVINFO

#define BIO_CTRL_DGRAM_SCTP_GET_RCVINFO   62

Definition at line 129 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_GET_SNDINFO

#define BIO_CTRL_DGRAM_SCTP_GET_SNDINFO   60

Definition at line 127 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_NEXT_AUTH_KEY

#define BIO_CTRL_DGRAM_SCTP_NEXT_AUTH_KEY   52

Definition at line 125 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_SAVE_SHUTDOWN

#define BIO_CTRL_DGRAM_SCTP_SAVE_SHUTDOWN   70

Definition at line 133 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE

#define BIO_CTRL_DGRAM_SCTP_SET_IN_HANDSHAKE   50

Definition at line 121 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_SET_PRINFO

#define BIO_CTRL_DGRAM_SCTP_SET_PRINFO   65

Definition at line 132 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_SET_RCVINFO

#define BIO_CTRL_DGRAM_SCTP_SET_RCVINFO   63

Definition at line 130 of file bio.h.

◆ BIO_CTRL_DGRAM_SCTP_SET_SNDINFO

#define BIO_CTRL_DGRAM_SCTP_SET_SNDINFO   61

Definition at line 128 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_CONNECTED

#define BIO_CTRL_DGRAM_SET_CONNECTED
Value:
32/* allow for an externally connected
* socket to be passed in */

Definition at line 92 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_DONT_FRAG

#define BIO_CTRL_DGRAM_SET_DONT_FRAG   48

Definition at line 116 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_MTU

#define BIO_CTRL_DGRAM_SET_MTU
Value:
42/* set cached value for MTU.
* want to use this if asking
* the kernel fails */

Definition at line 108 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT

#define BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT
Value:
45/* Next DTLS handshake timeout
* to adjust socket timeouts */

Definition at line 115 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_PEEK_MODE

#define BIO_CTRL_DGRAM_SET_PEEK_MODE   71

Definition at line 136 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_PEER

#define BIO_CTRL_DGRAM_SET_PEER   44/* Destination for the data */

Definition at line 113 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_RECV_TIMEOUT

#define BIO_CTRL_DGRAM_SET_RECV_TIMEOUT   33/* setsockopt, essentially */

Definition at line 93 of file bio.h.

◆ BIO_CTRL_DGRAM_SET_SEND_TIMEOUT

#define BIO_CTRL_DGRAM_SET_SEND_TIMEOUT   35/* setsockopt, essentially */

Definition at line 95 of file bio.h.

◆ BIO_CTRL_DUP

#define BIO_CTRL_DUP   12/* man - extra stuff for 'duped' BIO */

Definition at line 82 of file bio.h.

◆ BIO_CTRL_EOF

#define BIO_CTRL_EOF   2/* opt - are we at the eof */

Definition at line 72 of file bio.h.

◆ BIO_CTRL_FLUSH

#define BIO_CTRL_FLUSH   11/* opt - 'flush' buffered output */

Definition at line 81 of file bio.h.

◆ BIO_CTRL_GET

#define BIO_CTRL_GET   5/* man - get the 'IO' type */

Definition at line 75 of file bio.h.

◆ BIO_CTRL_GET_CALLBACK

#define BIO_CTRL_GET_CALLBACK   15/* opt - set callback function */

Definition at line 85 of file bio.h.

◆ BIO_CTRL_GET_CLOSE

#define BIO_CTRL_GET_CLOSE   8/* man - set the 'close' on free */

Definition at line 78 of file bio.h.

◆ BIO_CTRL_INFO

#define BIO_CTRL_INFO   3/* opt - extra tit-bits */

Definition at line 73 of file bio.h.

◆ BIO_CTRL_PEEK

#define BIO_CTRL_PEEK   29/* BIO_f_buffer special */

Definition at line 87 of file bio.h.

◆ BIO_CTRL_PENDING

#define BIO_CTRL_PENDING   10/* opt - is their more data buffered */

Definition at line 80 of file bio.h.

◆ BIO_CTRL_POP

#define BIO_CTRL_POP   7/* opt - internal, used to signify change */

Definition at line 77 of file bio.h.

◆ BIO_CTRL_PUSH

#define BIO_CTRL_PUSH   6/* opt - internal, used to signify change */

Definition at line 76 of file bio.h.

◆ BIO_CTRL_RESET

#define BIO_CTRL_RESET   1/* opt - rewind/zero etc */

Definition at line 71 of file bio.h.

◆ BIO_CTRL_SET

#define BIO_CTRL_SET   4/* man - set the 'IO' type */

Definition at line 74 of file bio.h.

◆ BIO_CTRL_SET_CALLBACK

#define BIO_CTRL_SET_CALLBACK   14/* opt - set callback function */

Definition at line 84 of file bio.h.

◆ BIO_CTRL_SET_CLOSE

#define BIO_CTRL_SET_CLOSE   9/* man - set the 'close' on free */

Definition at line 79 of file bio.h.

◆ BIO_ctrl_set_connected

#define BIO_ctrl_set_connected ( b,
peer )    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_CONNECTED, 0, (char *)(peer))

Definition at line 507 of file bio.h.

◆ BIO_CTRL_SET_FILENAME

#define BIO_CTRL_SET_FILENAME   30/* BIO_s_file special */

Definition at line 88 of file bio.h.

◆ BIO_CTRL_WPENDING

#define BIO_CTRL_WPENDING   13/* opt - number of bytes still to write */

Definition at line 83 of file bio.h.

◆ BIO_destroy_bio_pair

#define BIO_destroy_bio_pair ( b)    (int)BIO_ctrl(b,BIO_C_DESTROY_BIO_PAIR,0,NULL)

Definition at line 495 of file bio.h.

◆ BIO_dgram_get_mtu_overhead

#define BIO_dgram_get_mtu_overhead ( b)     (unsigned int)BIO_ctrl((b), BIO_CTRL_DGRAM_GET_MTU_OVERHEAD, 0, NULL)

Definition at line 517 of file bio.h.

◆ BIO_dgram_get_peer

#define BIO_dgram_get_peer ( b,
peer )    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_PEER, 0, (char *)(peer))

Definition at line 513 of file bio.h.

◆ BIO_dgram_recv_timedout

#define BIO_dgram_recv_timedout ( b)     (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_RECV_TIMER_EXP, 0, NULL)

Definition at line 509 of file bio.h.

◆ BIO_dgram_send_timedout

#define BIO_dgram_send_timedout ( b)     (int)BIO_ctrl(b, BIO_CTRL_DGRAM_GET_SEND_TIMER_EXP, 0, NULL)

Definition at line 511 of file bio.h.

◆ BIO_dgram_set_peer

#define BIO_dgram_set_peer ( b,
peer )    (int)BIO_ctrl(b, BIO_CTRL_DGRAM_SET_PEER, 0, (char *)(peer))

Definition at line 515 of file bio.h.

◆ BIO_do_accept

#define BIO_do_accept ( b)    BIO_do_handshake(b)

Definition at line 399 of file bio.h.

◆ BIO_do_connect

#define BIO_do_connect ( b)    BIO_do_handshake(b)

Definition at line 398 of file bio.h.

◆ BIO_do_handshake

#define BIO_do_handshake ( b)    BIO_ctrl(b,BIO_C_DO_STATE_MACHINE,0,NULL)

Definition at line 402 of file bio.h.

◆ BIO_dup_state

#define BIO_dup_state ( b,
ret )   BIO_ctrl(b,BIO_CTRL_DUP,0,(char *)(ret))

Definition at line 471 of file bio.h.

◆ BIO_eof

#define BIO_eof ( b)    (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL)

Definition at line 474 of file bio.h.

◆ BIO_FAMILY_IPANY

#define BIO_FAMILY_IPANY   256

Definition at line 358 of file bio.h.

◆ BIO_FAMILY_IPV4

#define BIO_FAMILY_IPV4   4

Definition at line 356 of file bio.h.

◆ BIO_FAMILY_IPV6

#define BIO_FAMILY_IPV6   6

Definition at line 357 of file bio.h.

◆ BIO_FLAGS_BASE64_NO_NL

#define BIO_FLAGS_BASE64_NO_NL   0x100

Definition at line 157 of file bio.h.

◆ BIO_FLAGS_IN_EOF

#define BIO_FLAGS_IN_EOF   0x800

Definition at line 166 of file bio.h.

◆ BIO_FLAGS_IO_SPECIAL

#define BIO_FLAGS_IO_SPECIAL   0x04

Definition at line 146 of file bio.h.

◆ BIO_FLAGS_MEM_RDONLY

#define BIO_FLAGS_MEM_RDONLY   0x200

Definition at line 164 of file bio.h.

◆ BIO_FLAGS_NONCLEAR_RST

#define BIO_FLAGS_NONCLEAR_RST   0x400

Definition at line 165 of file bio.h.

◆ BIO_FLAGS_READ

#define BIO_FLAGS_READ   0x01

Definition at line 144 of file bio.h.

◆ BIO_FLAGS_RWS

#define BIO_FLAGS_RWS   (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL)

Definition at line 147 of file bio.h.

◆ BIO_FLAGS_SHOULD_RETRY

#define BIO_FLAGS_SHOULD_RETRY   0x08

Definition at line 148 of file bio.h.

◆ BIO_FLAGS_UPLINK

#define BIO_FLAGS_UPLINK   0

Definition at line 154 of file bio.h.

◆ BIO_FLAGS_WRITE

#define BIO_FLAGS_WRITE   0x02

Definition at line 145 of file bio.h.

◆ BIO_flush

#define BIO_flush ( b)    (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL)

Definition at line 482 of file bio.h.

◆ BIO_FP_APPEND

#define BIO_FP_APPEND   0x08

Definition at line 141 of file bio.h.

◆ BIO_FP_READ

#define BIO_FP_READ   0x02

Definition at line 139 of file bio.h.

◆ BIO_FP_TEXT

#define BIO_FP_TEXT   0x10

Definition at line 142 of file bio.h.

◆ BIO_FP_WRITE

#define BIO_FP_WRITE   0x04

Definition at line 140 of file bio.h.

◆ BIO_get_accept_ip_family

#define BIO_get_accept_ip_family ( b)    BIO_ctrl(b,BIO_C_GET_ACCEPT,4,NULL)

Definition at line 388 of file bio.h.

◆ BIO_get_accept_name

#define BIO_get_accept_name ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,0))

Definition at line 379 of file bio.h.

◆ BIO_get_accept_port

#define BIO_get_accept_port ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,1))

Definition at line 380 of file bio.h.

◆ BIO_get_app_data

#define BIO_get_app_data ( s)    BIO_get_ex_data(s,0)

Definition at line 349 of file bio.h.

◆ BIO_get_bind_mode

#define BIO_get_bind_mode ( b)    BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)

Definition at line 395 of file bio.h.

◆ BIO_get_buffer_num_lines

#define BIO_get_buffer_num_lines ( b)    BIO_ctrl(b,BIO_C_GET_BUFF_NUM_LINES,0,NULL)

Definition at line 464 of file bio.h.

◆ BIO_get_close

#define BIO_get_close ( b)    (int)BIO_ctrl(b,BIO_CTRL_GET_CLOSE,0,NULL)

Definition at line 476 of file bio.h.

◆ BIO_get_conn_address

#define BIO_get_conn_address ( b)    ((const BIO_ADDR *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2))

Definition at line 370 of file bio.h.

◆ BIO_get_conn_hostname

#define BIO_get_conn_hostname ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0))

Definition at line 368 of file bio.h.

◆ BIO_get_conn_ip_family

#define BIO_get_conn_ip_family ( b)    BIO_ctrl(b,BIO_C_GET_CONNECT,3,NULL)

Definition at line 371 of file bio.h.

◆ BIO_get_conn_port

#define BIO_get_conn_port ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1))

Definition at line 369 of file bio.h.

◆ BIO_get_ex_new_index

#define BIO_get_ex_new_index ( l,
p,
newf,
dupf,
freef )    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_BIO, l, p, newf, dupf, freef)

Definition at line 520 of file bio.h.

◆ BIO_get_fd

#define BIO_get_fd ( b,
c )   BIO_ctrl(b,BIO_C_GET_FD,0,(char *)(c))

Definition at line 406 of file bio.h.

◆ BIO_get_flags

#define BIO_get_flags ( b)    BIO_test_flags(b, ~(0x0))

Definition at line 176 of file bio.h.

◆ BIO_get_fp

#define BIO_get_fp ( b,
fpp )   BIO_ctrl(b,BIO_C_GET_FILE_PTR,0,(char *)(fpp))

Definition at line 410 of file bio.h.

◆ BIO_get_info_callback

#define BIO_get_info_callback ( b,
cbp )
Value:
cbp)
#define BIO_CTRL_GET_CALLBACK
Definition bio.h:85

Definition at line 483 of file bio.h.

◆ BIO_get_mem_data

#define BIO_get_mem_data ( b,
pp )   BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)(pp))

Definition at line 456 of file bio.h.

◆ BIO_get_mem_ptr

#define BIO_get_mem_ptr ( b,
pp )
Value:
(char *)(pp))
#define BIO_C_GET_BUF_MEM_PTR
Definition bio.h:302
const unsigned char ** pp
Definition ct.h:347

Definition at line 458 of file bio.h.

◆ BIO_get_num_renegotiates

#define BIO_get_num_renegotiates ( b)     BIO_ctrl(b,BIO_C_GET_SSL_NUM_RENEGOTIATES,0,NULL)

Definition at line 448 of file bio.h.

◆ BIO_get_peer_name

#define BIO_get_peer_name ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,2))

Definition at line 381 of file bio.h.

◆ BIO_get_peer_port

#define BIO_get_peer_port ( b)    ((const char *)BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,3))

Definition at line 382 of file bio.h.

◆ BIO_get_read_request

#define BIO_get_read_request ( b)    (int)BIO_ctrl(b,BIO_C_GET_READ_REQUEST,0,NULL)

Definition at line 499 of file bio.h.

◆ BIO_get_retry_flags

#define BIO_get_retry_flags ( b)     BIO_test_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))

Definition at line 187 of file bio.h.

◆ BIO_get_ssl

#define BIO_get_ssl ( b,
sslp )   BIO_ctrl(b,BIO_C_GET_SSL,0,(char *)(sslp))

Definition at line 444 of file bio.h.

◆ BIO_get_write_buf_size

#define BIO_get_write_buf_size ( b,
size )   (size_t)BIO_ctrl(b,BIO_C_GET_WRITE_BUF_SIZE,size,NULL)

Definition at line 493 of file bio.h.

◆ BIO_get_write_guarantee

#define BIO_get_write_guarantee ( b)    (int)BIO_ctrl(b,BIO_C_GET_WRITE_GUARANTEE,0,NULL)

Definition at line 498 of file bio.h.

◆ BIO_make_bio_pair

#define BIO_make_bio_pair ( b1,
b2 )   (int)BIO_ctrl(b1,BIO_C_MAKE_BIO_PAIR,0,b2)

Definition at line 494 of file bio.h.

◆ BIO_NOCLOSE

#define BIO_NOCLOSE   0x00

Definition at line 65 of file bio.h.

◆ BIO_pending

#define BIO_pending ( b)    (int)BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)

Definition at line 477 of file bio.h.

◆ BIO_read_filename

#define BIO_read_filename ( b,
name )
Value:
BIO_CLOSE|BIO_FP_READ,(char *)(name))
#define BIO_FP_READ
Definition bio.h:139

Definition at line 427 of file bio.h.

◆ BIO_reset

#define BIO_reset ( b)    (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)

Definition at line 473 of file bio.h.

◆ BIO_retry_type

#define BIO_retry_type ( a)    BIO_test_flags(a, BIO_FLAGS_RWS)

Definition at line 194 of file bio.h.

◆ BIO_RR_ACCEPT

#define BIO_RR_ACCEPT   0x03

Definition at line 211 of file bio.h.

◆ BIO_RR_CONNECT

#define BIO_RR_CONNECT   0x02

Definition at line 209 of file bio.h.

◆ BIO_RR_SSL_X509_LOOKUP

#define BIO_RR_SSL_X509_LOOKUP   0x01

Definition at line 207 of file bio.h.

◆ BIO_rw_filename

#define BIO_rw_filename ( b,
name )
Value:

Definition at line 434 of file bio.h.

◆ BIO_seek

#define BIO_seek ( b,
ofs )   (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)

Definition at line 413 of file bio.h.

◆ BIO_set_accept_bios

#define BIO_set_accept_bios ( b,
bio )
Value:
(char *)(bio))
#define BIO_C_SET_ACCEPT
Definition bio.h:305

Definition at line 385 of file bio.h.

◆ BIO_set_accept_ip_family

#define BIO_set_accept_ip_family ( b,
f )   BIO_int_ctrl(b,BIO_C_SET_ACCEPT,4,f)

Definition at line 387 of file bio.h.

◆ BIO_set_accept_name

#define BIO_set_accept_name ( b,
name )
Value:
(char *)(name))

Definition at line 375 of file bio.h.

◆ BIO_set_accept_port

#define BIO_set_accept_port ( b,
port )
Value:
(char *)(port))

Definition at line 377 of file bio.h.

◆ BIO_set_app_data

#define BIO_set_app_data ( s,
arg )   BIO_set_ex_data(s,0,arg)

Definition at line 348 of file bio.h.

◆ BIO_set_bind_mode

#define BIO_set_bind_mode ( b,
mode )   BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)

Definition at line 394 of file bio.h.

◆ BIO_set_buffer_read_data

#define BIO_set_buffer_read_data ( b,
buf,
num )   BIO_ctrl(b,BIO_C_SET_BUFF_READ_DATA,num,buf)

Definition at line 468 of file bio.h.

◆ BIO_set_buffer_size

#define BIO_set_buffer_size ( b,
size )   BIO_ctrl(b,BIO_C_SET_BUFF_SIZE,size,NULL)

Definition at line 465 of file bio.h.

◆ BIO_set_close

#define BIO_set_close ( b,
c )   (int)BIO_ctrl(b,BIO_CTRL_SET_CLOSE,(c),NULL)

Definition at line 475 of file bio.h.

◆ BIO_set_conn_address

#define BIO_set_conn_address ( b,
addr )
Value:
(char *)(addr))
#define BIO_C_SET_CONNECT
Definition bio.h:287

Definition at line 365 of file bio.h.

◆ BIO_set_conn_hostname

#define BIO_set_conn_hostname ( b,
name )
Value:
(char *)(name))

Definition at line 361 of file bio.h.

◆ BIO_set_conn_ip_family

#define BIO_set_conn_ip_family ( b,
f )   BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,f)

Definition at line 367 of file bio.h.

◆ BIO_set_conn_mode

#define BIO_set_conn_mode ( b,
n )   BIO_ctrl(b,BIO_C_SET_CONNECT_MODE,(n),NULL)

Definition at line 372 of file bio.h.

◆ BIO_set_conn_port

#define BIO_set_conn_port ( b,
port )
Value:
(char *)(port))

Definition at line 363 of file bio.h.

◆ BIO_set_fd

#define BIO_set_fd ( b,
fd,
c )   BIO_int_ctrl(b,BIO_C_SET_FD,c,fd)

Definition at line 405 of file bio.h.

◆ BIO_set_fp

#define BIO_set_fp ( b,
fp,
c )   BIO_ctrl(b,BIO_C_SET_FILE_PTR,c,(char *)(fp))

Definition at line 409 of file bio.h.

◆ BIO_set_info_callback

#define BIO_set_info_callback ( b,
cb )   (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,cb)

Definition at line 485 of file bio.h.

◆ BIO_set_mem_buf

#define BIO_set_mem_buf ( b,
bm,
c )   BIO_ctrl(b,BIO_C_SET_BUF_MEM,c,(char *)(bm))

Definition at line 457 of file bio.h.

◆ BIO_set_mem_eof_return

#define BIO_set_mem_eof_return ( b,
v )    BIO_ctrl(b,BIO_C_SET_BUF_MEM_EOF_RETURN,v,NULL)

Definition at line 460 of file bio.h.

◆ BIO_set_nbio

#define BIO_set_nbio ( b,
n )   BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL)

Definition at line 351 of file bio.h.

◆ BIO_set_nbio_accept

#define BIO_set_nbio_accept ( b,
n )   BIO_ctrl(b,BIO_C_SET_ACCEPT,2,(n)?(void *)"a":NULL)

Definition at line 384 of file bio.h.

◆ BIO_set_read_buffer_size

#define BIO_set_read_buffer_size ( b,
size )   BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,0)

Definition at line 466 of file bio.h.

◆ BIO_set_retry_read

#define BIO_set_retry_read ( b)     BIO_set_flags(b, (BIO_FLAGS_READ|BIO_FLAGS_SHOULD_RETRY))

Definition at line 179 of file bio.h.

◆ BIO_set_retry_special

#define BIO_set_retry_special ( b)     BIO_set_flags(b, (BIO_FLAGS_IO_SPECIAL|BIO_FLAGS_SHOULD_RETRY))

Definition at line 177 of file bio.h.

◆ BIO_set_retry_write

#define BIO_set_retry_write ( b)     BIO_set_flags(b, (BIO_FLAGS_WRITE|BIO_FLAGS_SHOULD_RETRY))

Definition at line 181 of file bio.h.

◆ BIO_set_ssl

#define BIO_set_ssl ( b,
ssl,
c )   BIO_ctrl(b,BIO_C_SET_SSL,c,(char *)(ssl))

Definition at line 443 of file bio.h.

◆ BIO_set_ssl_mode

#define BIO_set_ssl_mode ( b,
client )   BIO_ctrl(b,BIO_C_SSL_MODE,client,NULL)

Definition at line 445 of file bio.h.

◆ BIO_set_ssl_renegotiate_bytes

#define BIO_set_ssl_renegotiate_bytes ( b,
num )    BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_BYTES,num,NULL)

Definition at line 446 of file bio.h.

◆ BIO_set_ssl_renegotiate_timeout

#define BIO_set_ssl_renegotiate_timeout ( b,
seconds )    BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT,seconds,NULL)

Definition at line 450 of file bio.h.

◆ BIO_set_write_buf_size

#define BIO_set_write_buf_size ( b,
size )   (int)BIO_ctrl(b,BIO_C_SET_WRITE_BUF_SIZE,size,NULL)

Definition at line 492 of file bio.h.

◆ BIO_set_write_buffer_size

#define BIO_set_write_buffer_size ( b,
size )   BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,1)

Definition at line 467 of file bio.h.

◆ BIO_should_io_special

#define BIO_should_io_special ( a)    BIO_test_flags(a, BIO_FLAGS_IO_SPECIAL)

Definition at line 193 of file bio.h.

◆ BIO_should_read

#define BIO_should_read ( a)    BIO_test_flags(a, BIO_FLAGS_READ)

Definition at line 191 of file bio.h.

◆ BIO_should_retry

#define BIO_should_retry ( a)    BIO_test_flags(a, BIO_FLAGS_SHOULD_RETRY)

Definition at line 195 of file bio.h.

◆ BIO_should_write

#define BIO_should_write ( a)    BIO_test_flags(a, BIO_FLAGS_WRITE)

Definition at line 192 of file bio.h.

◆ BIO_shutdown_wr

#define BIO_shutdown_wr ( b)    (int)BIO_ctrl(b, BIO_C_SHUTDOWN_WR, 0, NULL)

Definition at line 496 of file bio.h.

◆ BIO_sock_cleanup

#define BIO_sock_cleanup ( )    while(0) continue

Definition at line 675 of file bio.h.

◆ BIO_SOCK_KEEPALIVE

#define BIO_SOCK_KEEPALIVE   0x04

Definition at line 696 of file bio.h.

◆ BIO_SOCK_NODELAY

#define BIO_SOCK_NODELAY   0x10

Definition at line 698 of file bio.h.

◆ BIO_SOCK_NONBLOCK

#define BIO_SOCK_NONBLOCK   0x08

Definition at line 697 of file bio.h.

◆ BIO_SOCK_REUSEADDR

#define BIO_SOCK_REUSEADDR   0x01

Definition at line 694 of file bio.h.

◆ BIO_SOCK_V6_ONLY

#define BIO_SOCK_V6_ONLY   0x02

Definition at line 695 of file bio.h.

◆ BIO_tell

#define BIO_tell ( b)    (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)

Definition at line 414 of file bio.h.

◆ BIO_TYPE_ACCEPT

#define BIO_TYPE_ACCEPT   (13|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 46 of file bio.h.

◆ BIO_TYPE_ASN1

#define BIO_TYPE_ASN1   (22|BIO_TYPE_FILTER)

Definition at line 53 of file bio.h.

◆ BIO_TYPE_BASE64

#define BIO_TYPE_BASE64   (11|BIO_TYPE_FILTER)

Definition at line 44 of file bio.h.

◆ BIO_TYPE_BIO

#define BIO_TYPE_BIO   (19|BIO_TYPE_SOURCE_SINK)/* half a BIO pair */

Definition at line 50 of file bio.h.

◆ BIO_TYPE_BUFFER

#define BIO_TYPE_BUFFER   ( 9|BIO_TYPE_FILTER)

Definition at line 42 of file bio.h.

◆ BIO_TYPE_CIPHER

#define BIO_TYPE_CIPHER   (10|BIO_TYPE_FILTER)

Definition at line 43 of file bio.h.

◆ BIO_TYPE_COMP

#define BIO_TYPE_COMP   (23|BIO_TYPE_FILTER)

Definition at line 54 of file bio.h.

◆ BIO_TYPE_CONNECT

#define BIO_TYPE_CONNECT   (12|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 45 of file bio.h.

◆ BIO_TYPE_DESCRIPTOR

#define BIO_TYPE_DESCRIPTOR   0x0100 /* socket, fd, connect or accept */

Definition at line 28 of file bio.h.

◆ BIO_TYPE_DGRAM

#define BIO_TYPE_DGRAM   (21|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 52 of file bio.h.

◆ BIO_TYPE_DGRAM_SCTP

#define BIO_TYPE_DGRAM_SCTP   (24|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 56 of file bio.h.

◆ BIO_TYPE_FD

#define BIO_TYPE_FD   ( 4|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 37 of file bio.h.

◆ BIO_TYPE_FILE

#define BIO_TYPE_FILE   ( 2|BIO_TYPE_SOURCE_SINK)

Definition at line 35 of file bio.h.

◆ BIO_TYPE_FILTER

#define BIO_TYPE_FILTER   0x0200

Definition at line 29 of file bio.h.

◆ BIO_TYPE_LINEBUFFER

#define BIO_TYPE_LINEBUFFER   (20|BIO_TYPE_FILTER)

Definition at line 51 of file bio.h.

◆ BIO_TYPE_MD

#define BIO_TYPE_MD   ( 8|BIO_TYPE_FILTER)

Definition at line 41 of file bio.h.

◆ BIO_TYPE_MEM

#define BIO_TYPE_MEM   ( 1|BIO_TYPE_SOURCE_SINK)

Definition at line 34 of file bio.h.

◆ BIO_TYPE_NBIO_TEST

#define BIO_TYPE_NBIO_TEST   (16|BIO_TYPE_FILTER)/* server proxy BIO */

Definition at line 48 of file bio.h.

◆ BIO_TYPE_NONE

#define BIO_TYPE_NONE   0

Definition at line 33 of file bio.h.

◆ BIO_TYPE_NULL

#define BIO_TYPE_NULL   ( 6|BIO_TYPE_SOURCE_SINK)

Definition at line 39 of file bio.h.

◆ BIO_TYPE_NULL_FILTER

#define BIO_TYPE_NULL_FILTER   (17|BIO_TYPE_FILTER)

Definition at line 49 of file bio.h.

◆ BIO_TYPE_SOCKET

#define BIO_TYPE_SOCKET   ( 5|BIO_TYPE_SOURCE_SINK|BIO_TYPE_DESCRIPTOR)

Definition at line 38 of file bio.h.

◆ BIO_TYPE_SOURCE_SINK

#define BIO_TYPE_SOURCE_SINK   0x0400

Definition at line 30 of file bio.h.

◆ BIO_TYPE_SSL

#define BIO_TYPE_SSL   ( 7|BIO_TYPE_FILTER)

Definition at line 40 of file bio.h.

◆ BIO_TYPE_START

#define BIO_TYPE_START   128

Definition at line 59 of file bio.h.

◆ BIO_wpending

#define BIO_wpending ( b)    (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL)

Definition at line 478 of file bio.h.

◆ BIO_write_filename

#define BIO_write_filename ( b,
name )
Value:

Definition at line 430 of file bio.h.

◆ ossl_bio__attr__

#define ossl_bio__attr__ ( x)

Definition at line 728 of file bio.h.

Typedef Documentation

◆ asn1_ps_func

typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg)

Definition at line 255 of file bio.h.

◆ BIO_ADDR

typedef union bio_addr_st BIO_ADDR

Definition at line 168 of file bio.h.

◆ BIO_ADDRINFO

typedef struct bio_addrinfo_st BIO_ADDRINFO

Definition at line 169 of file bio.h.

◆ BIO_callback_fn

typedef long(* BIO_callback_fn) (BIO *b, int oper, const char *argp, int argi, long argl, long ret)

Definition at line 230 of file bio.h.

◆ BIO_callback_fn_ex

typedef long(* BIO_callback_fn_ex) (BIO *b, int oper, const char *argp, size_t len, int argi, long argl, int ret, size_t *processed)

Definition at line 232 of file bio.h.

◆ BIO_info_cb

typedef int BIO_info_cb(BIO *, int, int)

Definition at line 249 of file bio.h.

◆ bio_info_cb

Definition at line 250 of file bio.h.

◆ BIO_METHOD

typedef struct bio_method_st BIO_METHOD

Definition at line 244 of file bio.h.

Enumeration Type Documentation

◆ BIO_hostserv_priorities

Enumerator
BIO_PARSE_PRIO_HOST 
BIO_PARSE_PRIO_SERV 

Definition at line 656 of file bio.h.

◆ BIO_lookup_type

Enumerator
BIO_LOOKUP_CLIENT 
BIO_LOOKUP_SERVER 

Definition at line 661 of file bio.h.

◆ BIO_sock_info_type

Enumerator
BIO_SOCK_INFO_ADDRESS 

Definition at line 688 of file bio.h.

Function Documentation

◆ BIO_accept_ex()

int BIO_accept_ex ( int accept_sock,
BIO_ADDR * addr,
int options )

◆ BIO_ADDR_clear()

void BIO_ADDR_clear ( BIO_ADDR * ap)

◆ BIO_ADDR_family()

int BIO_ADDR_family ( const BIO_ADDR * ap)

◆ BIO_ADDR_free()

void BIO_ADDR_free ( BIO_ADDR * )

◆ BIO_ADDR_hostname_string()

char * BIO_ADDR_hostname_string ( const BIO_ADDR * ap,
int numeric )

◆ BIO_ADDR_new()

BIO_ADDR * BIO_ADDR_new ( void )

◆ BIO_ADDR_path_string()

char * BIO_ADDR_path_string ( const BIO_ADDR * ap)

◆ BIO_ADDR_rawaddress()

int BIO_ADDR_rawaddress ( const BIO_ADDR * ap,
void * p,
size_t * l )

◆ BIO_ADDR_rawmake()

int BIO_ADDR_rawmake ( BIO_ADDR * ap,
int family,
const void * where,
size_t wherelen,
unsigned short port )

◆ BIO_ADDR_rawport()

unsigned short BIO_ADDR_rawport ( const BIO_ADDR * ap)

◆ BIO_ADDR_service_string()

char * BIO_ADDR_service_string ( const BIO_ADDR * ap,
int numeric )

◆ BIO_ADDRINFO_address()

const BIO_ADDR * BIO_ADDRINFO_address ( const BIO_ADDRINFO * bai)

◆ BIO_ADDRINFO_family()

int BIO_ADDRINFO_family ( const BIO_ADDRINFO * bai)

◆ BIO_ADDRINFO_free()

void BIO_ADDRINFO_free ( BIO_ADDRINFO * bai)

◆ BIO_ADDRINFO_next()

const BIO_ADDRINFO * BIO_ADDRINFO_next ( const BIO_ADDRINFO * bai)

◆ BIO_ADDRINFO_protocol()

int BIO_ADDRINFO_protocol ( const BIO_ADDRINFO * bai)

◆ BIO_ADDRINFO_socktype()

int BIO_ADDRINFO_socktype ( const BIO_ADDRINFO * bai)

◆ BIO_asn1_get_prefix()

int BIO_asn1_get_prefix ( BIO * b,
asn1_ps_func ** pprefix,
asn1_ps_func ** pprefix_free )

◆ BIO_asn1_get_suffix()

int BIO_asn1_get_suffix ( BIO * b,
asn1_ps_func ** psuffix,
asn1_ps_func ** psuffix_free )

◆ BIO_asn1_set_prefix()

int BIO_asn1_set_prefix ( BIO * b,
asn1_ps_func * prefix,
asn1_ps_func * prefix_free )

◆ BIO_asn1_set_suffix()

int BIO_asn1_set_suffix ( BIO * b,
asn1_ps_func * suffix,
asn1_ps_func * suffix_free )

◆ BIO_bind()

int BIO_bind ( int sock,
const BIO_ADDR * addr,
int options )

◆ BIO_callback_ctrl()

long BIO_callback_ctrl ( BIO * b,
int cmd,
BIO_info_cb * fp )

◆ BIO_clear_flags()

void BIO_clear_flags ( BIO * b,
int flags )

◆ BIO_closesocket()

int BIO_closesocket ( int sock)

◆ BIO_connect()

int BIO_connect ( int sock,
const BIO_ADDR * addr,
int options )

◆ BIO_copy_next_retry()

void BIO_copy_next_retry ( BIO * b)

◆ BIO_ctrl()

long BIO_ctrl ( BIO * bp,
int cmd,
long larg,
void * parg )

◆ BIO_ctrl_get_read_request()

size_t BIO_ctrl_get_read_request ( BIO * b)

◆ BIO_ctrl_get_write_guarantee()

size_t BIO_ctrl_get_write_guarantee ( BIO * b)

◆ BIO_ctrl_pending()

size_t BIO_ctrl_pending ( BIO * b)

◆ BIO_ctrl_reset_read_request()

int BIO_ctrl_reset_read_request ( BIO * b)

◆ BIO_ctrl_wpending()

size_t BIO_ctrl_wpending ( BIO * b)

◆ BIO_debug_callback()

long BIO_debug_callback ( BIO * bio,
int cmd,
const char * argp,
int argi,
long argl,
long ret )

◆ BIO_dgram_is_sctp()

int BIO_dgram_is_sctp ( BIO * bio)

◆ BIO_dgram_non_fatal_error()

int BIO_dgram_non_fatal_error ( int error)

◆ BIO_dgram_sctp_msg_waiting()

int BIO_dgram_sctp_msg_waiting ( BIO * b)

◆ BIO_dgram_sctp_notification_cb()

int BIO_dgram_sctp_notification_cb ( BIO * b,
void(*)(BIO *bio, void *context, void *buf) handle_notifications,
void * context )

◆ BIO_dgram_sctp_wait_for_dry()

int BIO_dgram_sctp_wait_for_dry ( BIO * b)

◆ BIO_dump()

int BIO_dump ( BIO * b,
const char * bytes,
int len )

◆ BIO_dump_cb()

int BIO_dump_cb ( int(*)(const void *data, size_t len, void *u) cb,
void * u,
const char * s,
int len )

◆ BIO_dump_fp()

int BIO_dump_fp ( FILE * fp,
const char * s,
int len )

◆ BIO_dump_indent()

int BIO_dump_indent ( BIO * b,
const char * bytes,
int len,
int indent )

◆ BIO_dump_indent_cb()

int BIO_dump_indent_cb ( int(*)(const void *data, size_t len, void *u) cb,
void * u,
const char * s,
int len,
int indent )

◆ BIO_dump_indent_fp()

int BIO_dump_indent_fp ( FILE * fp,
const char * s,
int len,
int indent )

◆ BIO_dup_chain()

BIO * BIO_dup_chain ( BIO * in)

◆ BIO_f_buffer()

const BIO_METHOD * BIO_f_buffer ( void )

◆ BIO_f_linebuffer()

const BIO_METHOD * BIO_f_linebuffer ( void )

◆ BIO_f_nbio_test()

const BIO_METHOD * BIO_f_nbio_test ( void )

◆ BIO_f_null()

const BIO_METHOD * BIO_f_null ( void )

◆ BIO_fd_non_fatal_error()

int BIO_fd_non_fatal_error ( int error)

◆ BIO_fd_should_retry()

int BIO_fd_should_retry ( int i)

◆ BIO_find_type()

BIO * BIO_find_type ( BIO * b,
int bio_type )

◆ BIO_free()

int BIO_free ( BIO * a)

◆ BIO_free_all()

void BIO_free_all ( BIO * a)

◆ BIO_get_callback()

BIO_callback_fn BIO_get_callback ( const BIO * b)

◆ BIO_get_callback_arg()

char * BIO_get_callback_arg ( const BIO * b)

◆ BIO_get_callback_ex()

BIO_callback_fn_ex BIO_get_callback_ex ( const BIO * b)

◆ BIO_get_data()

void * BIO_get_data ( BIO * a)

◆ BIO_get_ex_data()

void * BIO_get_ex_data ( BIO * bio,
int idx )

◆ BIO_get_init()

int BIO_get_init ( BIO * a)

◆ BIO_get_new_index()

int BIO_get_new_index ( void )

◆ BIO_get_retry_BIO()

BIO * BIO_get_retry_BIO ( BIO * bio,
int * reason )

◆ BIO_get_retry_reason()

int BIO_get_retry_reason ( BIO * bio)

◆ BIO_get_shutdown()

int BIO_get_shutdown ( BIO * a)

◆ BIO_gets()

int BIO_gets ( BIO * bp,
char * buf,
int size )

◆ BIO_hex_string()

int BIO_hex_string ( BIO * out,
int indent,
int width,
unsigned char * data,
int datalen )

◆ BIO_indent()

int BIO_indent ( BIO * b,
int indent,
int max )

◆ BIO_int_ctrl()

long BIO_int_ctrl ( BIO * bp,
int cmd,
long larg,
int iarg )

◆ BIO_listen()

int BIO_listen ( int sock,
const BIO_ADDR * addr,
int options )

◆ BIO_lookup()

int BIO_lookup ( const char * host,
const char * service,
enum BIO_lookup_type lookup_type,
int family,
int socktype,
BIO_ADDRINFO ** res )

◆ BIO_lookup_ex()

int BIO_lookup_ex ( const char * host,
const char * service,
int lookup_type,
int family,
int socktype,
int protocol,
BIO_ADDRINFO ** res )

◆ BIO_meth_free()

void BIO_meth_free ( BIO_METHOD * biom)

◆ BIO_meth_new()

int int int int BIO_METHOD * BIO_meth_new ( int type,
const char * name )

◆ BIO_meth_set_callback_ctrl()

int BIO_meth_set_callback_ctrl ( BIO_METHOD * biom,
long(*)(BIO *, int, BIO_info_cb *) callback_ctrl )

◆ BIO_meth_set_create()

int BIO_meth_set_create ( BIO_METHOD * biom,
int(*)(BIO *) create )

◆ BIO_meth_set_ctrl()

int BIO_meth_set_ctrl ( BIO_METHOD * biom,
long(*)(BIO *, int, long, void *) ctrl )

◆ BIO_meth_set_destroy()

int BIO_meth_set_destroy ( BIO_METHOD * biom,
int(*)(BIO *) destroy )

◆ BIO_meth_set_gets()

int BIO_meth_set_gets ( BIO_METHOD * biom,
int(*)(BIO *, char *, int) gets )

◆ BIO_meth_set_puts()

int BIO_meth_set_puts ( BIO_METHOD * biom,
int(*)(BIO *, const char *) puts )

◆ BIO_meth_set_read()

int BIO_meth_set_read ( BIO_METHOD * biom,
int(*)(BIO *, char *, int) read )

◆ BIO_meth_set_read_ex()

int BIO_meth_set_read_ex ( BIO_METHOD * biom,
int(*)(BIO *, char *, size_t, size_t *) bread )

◆ BIO_meth_set_write()

int BIO_meth_set_write ( BIO_METHOD * biom,
int(*)(BIO *, const char *, int) write )

◆ BIO_meth_set_write_ex()

int BIO_meth_set_write_ex ( BIO_METHOD * biom,
int(*)(BIO *, const char *, size_t, size_t *) bwrite )

◆ BIO_method_name()

const char * BIO_method_name ( const BIO * b)

◆ BIO_method_type()

int BIO_method_type ( const BIO * b)

◆ BIO_new()

BIO * BIO_new ( const BIO_METHOD * type)

◆ BIO_new_accept()

BIO * BIO_new_accept ( const char * host_port)

◆ BIO_new_bio_pair()

int BIO_new_bio_pair ( BIO ** bio1,
size_t writebuf1,
BIO ** bio2,
size_t writebuf2 )

◆ BIO_new_connect()

BIO * BIO_new_connect ( const char * host_port)

◆ BIO_new_dgram()

BIO * BIO_new_dgram ( int fd,
int close_flag )

◆ BIO_new_dgram_sctp()

BIO * BIO_new_dgram_sctp ( int fd,
int close_flag )

◆ BIO_new_fd()

BIO * BIO_new_fd ( int fd,
int close_flag )

◆ BIO_new_file()

BIO * BIO_new_file ( const char * filename,
const char * mode )

◆ BIO_new_fp()

BIO * BIO_new_fp ( FILE * stream,
int close_flag )

◆ BIO_new_mem_buf()

BIO * BIO_new_mem_buf ( const void * buf,
int len )

◆ BIO_new_socket()

BIO * BIO_new_socket ( int sock,
int close_flag )

◆ BIO_next()

BIO * BIO_next ( BIO * b)

◆ BIO_nread()

int BIO_nread ( BIO * bio,
char ** buf,
int num )

◆ BIO_nread0()

int BIO_nread0 ( BIO * bio,
char ** buf )

◆ BIO_number_read()

uint64_t BIO_number_read ( BIO * bio)

◆ BIO_number_written()

uint64_t BIO_number_written ( BIO * bio)

◆ BIO_nwrite()

int BIO_nwrite ( BIO * bio,
char ** buf,
int num )

◆ BIO_nwrite0()

int BIO_nwrite0 ( BIO * bio,
char ** buf )

◆ BIO_parse_hostserv()

int BIO_parse_hostserv ( const char * hostserv,
char ** host,
char ** service,
enum BIO_hostserv_priorities hostserv_prio )

◆ BIO_pop()

BIO * BIO_pop ( BIO * b)

◆ BIO_printf()

int BIO_printf ( BIO * bio,
const char * format,
... )

◆ BIO_ptr_ctrl()

void * BIO_ptr_ctrl ( BIO * bp,
int cmd,
long larg )

◆ BIO_push()

BIO * BIO_push ( BIO * b,
BIO * append )

◆ BIO_puts()

int BIO_puts ( BIO * bp,
const char * buf )

◆ BIO_read()

int BIO_read ( BIO * b,
void * data,
int dlen )

◆ BIO_read_ex()

int BIO_read_ex ( BIO * b,
void * data,
size_t dlen,
size_t * readbytes )

◆ BIO_s_accept()

const BIO_METHOD * BIO_s_accept ( void )

◆ BIO_s_bio()

const BIO_METHOD * BIO_s_bio ( void )

◆ BIO_s_connect()

const BIO_METHOD * BIO_s_connect ( void )

◆ BIO_s_datagram()

const BIO_METHOD * BIO_s_datagram ( void )

◆ BIO_s_datagram_sctp()

const BIO_METHOD * BIO_s_datagram_sctp ( void )

◆ BIO_s_fd()

const BIO_METHOD * BIO_s_fd ( void )

◆ BIO_s_file()

const BIO_METHOD * BIO_s_file ( void )

◆ BIO_s_log()

const BIO_METHOD * BIO_s_log ( void )

◆ BIO_s_mem()

const BIO_METHOD * BIO_s_mem ( void )

◆ BIO_s_null()

const BIO_METHOD * BIO_s_null ( void )

◆ BIO_s_secmem()

const BIO_METHOD * BIO_s_secmem ( void )

◆ BIO_s_socket()

const BIO_METHOD * BIO_s_socket ( void )

◆ BIO_set_callback()

void BIO_set_callback ( BIO * b,
BIO_callback_fn callback )

◆ BIO_set_callback_arg()

void BIO_set_callback_arg ( BIO * b,
char * arg )

◆ BIO_set_callback_ex()

void BIO_set_callback_ex ( BIO * b,
BIO_callback_fn_ex callback )

◆ BIO_set_data()

void BIO_set_data ( BIO * a,
void * ptr )

◆ BIO_set_ex_data()

int BIO_set_ex_data ( BIO * bio,
int idx,
void * data )

◆ BIO_set_flags()

void BIO_set_flags ( BIO * b,
int flags )

◆ BIO_set_init()

void BIO_set_init ( BIO * a,
int init )

◆ BIO_set_next()

void BIO_set_next ( BIO * b,
BIO * next )

◆ BIO_set_retry_reason()

void BIO_set_retry_reason ( BIO * bio,
int reason )

◆ BIO_set_shutdown()

void BIO_set_shutdown ( BIO * a,
int shut )

◆ BIO_set_tcp_ndelay()

int BIO_set_tcp_ndelay ( int sock,
int turn_on )

◆ BIO_snprintf()

int int int BIO_snprintf ( char * buf,
size_t n,
const char * format,
... )

◆ BIO_sock_error()

int BIO_sock_error ( int sock)

◆ BIO_sock_info()

int BIO_sock_info ( int sock,
enum BIO_sock_info_type type,
union BIO_sock_info_u * info )

◆ BIO_sock_init()

int BIO_sock_init ( void )

◆ BIO_sock_non_fatal_error()

int BIO_sock_non_fatal_error ( int error)

◆ BIO_sock_should_retry()

int BIO_sock_should_retry ( int i)

◆ BIO_socket()

int BIO_socket ( int domain,
int socktype,
int protocol,
int options )

◆ BIO_socket_ioctl()

int BIO_socket_ioctl ( int fd,
long type,
void * arg )

◆ BIO_socket_nbio()

int BIO_socket_nbio ( int fd,
int mode )

◆ BIO_test_flags()

int BIO_test_flags ( const BIO * b,
int flags )

◆ BIO_up_ref()

int BIO_up_ref ( BIO * a)

◆ BIO_vfree()

void BIO_vfree ( BIO * a)

◆ BIO_vprintf()

int int BIO_vprintf ( BIO * bio,
const char * format,
va_list args )

◆ BIO_vsnprintf()

int int int int BIO_vsnprintf ( char * buf,
size_t n,
const char * format,
va_list args )

◆ BIO_write()

int BIO_write ( BIO * b,
const void * data,
int dlen )

◆ BIO_write_ex()

int BIO_write_ex ( BIO * b,
const void * data,
size_t dlen,
size_t * written )

Variable Documentation

◆ BIO_meth_get_callback_ctrl

long(*)(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 785 of file bio.h.

◆ BIO_meth_get_create

int(*)(BIO *) BIO_meth_get_create(const BIO_METHOD *bion) ( const BIO_METHOD * bion)

Definition at line 781 of file bio.h.

◆ BIO_meth_get_ctrl

long(*)(BIO *, int, long, void *) BIO_meth_get_ctrl(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 778 of file bio.h.

◆ BIO_meth_get_destroy

int(*)(BIO *) BIO_meth_get_destroy(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 783 of file bio.h.

◆ BIO_meth_get_gets

int(*)(BIO *, char *, int) BIO_meth_get_gets(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 775 of file bio.h.

◆ BIO_meth_get_puts

int(*)(BIO *, const char *) BIO_meth_get_puts(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 772 of file bio.h.

◆ BIO_meth_get_read

int(*)(BIO *, char *, int) BIO_meth_get_read(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 766 of file bio.h.

◆ BIO_meth_get_read_ex

int(*)(BIO *, char *, size_t, size_t *) BIO_meth_get_read_ex(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 767 of file bio.h.

◆ BIO_meth_get_write

int(*)(BIO *, const char *, int) BIO_meth_get_write(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 759 of file bio.h.

◆ BIO_meth_get_write_ex

int(*)(BIO *, const char *, size_t, size_t *) BIO_meth_get_write_ex(const BIO_METHOD *biom) ( const BIO_METHOD * biom)

Definition at line 760 of file bio.h.