71#define BIO_TYPE_NONE 0
72#define BIO_TYPE_MEM (1|0x0400)
73#define BIO_TYPE_FILE (2|0x0400)
75#define BIO_TYPE_FD (4|0x0400|0x0100)
76#define BIO_TYPE_SOCKET (5|0x0400|0x0100)
77#define BIO_TYPE_NULL (6|0x0400)
78#define BIO_TYPE_SSL (7|0x0200)
79#define BIO_TYPE_MD (8|0x0200)
80#define BIO_TYPE_BUFFER (9|0x0200)
81#define BIO_TYPE_CIPHER (10|0x0200)
82#define BIO_TYPE_BASE64 (11|0x0200)
83#define BIO_TYPE_CONNECT (12|0x0400|0x0100)
84#define BIO_TYPE_ACCEPT (13|0x0400|0x0100)
85#define BIO_TYPE_PROXY_CLIENT (14|0x0200)
86#define BIO_TYPE_PROXY_SERVER (15|0x0200)
87#define BIO_TYPE_NBIO_TEST (16|0x0200)
88#define BIO_TYPE_NULL_FILTER (17|0x0200)
89#define BIO_TYPE_BER (18|0x0200)
90#define BIO_TYPE_BIO (19|0x0400)
92#define BIO_TYPE_DESCRIPTOR 0x0100
93#define BIO_TYPE_FILTER 0x0200
94#define BIO_TYPE_SOURCE_SINK 0x0400
98#define BIO_NOCLOSE 0x00
103#define BIO_CTRL_RESET 1
104#define BIO_CTRL_EOF 2
105#define BIO_CTRL_INFO 3
106#define BIO_CTRL_SET 4
107#define BIO_CTRL_GET 5
108#define BIO_CTRL_PUSH 6
109#define BIO_CTRL_POP 7
110#define BIO_CTRL_GET_CLOSE 8
111#define BIO_CTRL_SET_CLOSE 9
112#define BIO_CTRL_PENDING 10
113#define BIO_CTRL_FLUSH 11
114#define BIO_CTRL_DUP 12
115#define BIO_CTRL_WPENDING 13
117#define BIO_CTRL_SET_CALLBACK 14
118#define BIO_CTRL_GET_CALLBACK 15
120#define BIO_CTRL_SET_FILENAME 30
123#define BIO_FP_READ 0x02
124#define BIO_FP_WRITE 0x04
125#define BIO_FP_APPEND 0x08
126#define BIO_FP_TEXT 0x10
128#define BIO_FLAGS_READ 0x01
129#define BIO_FLAGS_WRITE 0x02
130#define BIO_FLAGS_IO_SPECIAL 0x04
131#define BIO_FLAGS_RWS (BIO_FLAGS_READ|BIO_FLAGS_WRITE|BIO_FLAGS_IO_SPECIAL)
132#define BIO_FLAGS_SHOULD_RETRY 0x08
135#define BIO_GHBN_CTRL_HITS 1
136#define BIO_GHBN_CTRL_MISSES 2
137#define BIO_GHBN_CTRL_CACHE_SIZE 3
138#define BIO_GHBN_CTRL_GET_ENTRY 4
139#define BIO_GHBN_CTRL_FLUSH 5
148#define BIO_FLAGS_BASE64_NO_NL 0x100
153#define BIO_FLAGS_MEM_RDONLY 0x200
155#define BIO_set_flags(b,f) ((b)->flags|=(f))
156#define BIO_get_flags(b) ((b)->flags)
157#define BIO_set_retry_special(b) \
158 ((b)->flags|=(BIO_FLAGS_IO_SPECIAL|BIO_FLAGS_SHOULD_RETRY))
159#define BIO_set_retry_read(b) \
160 ((b)->flags|=(BIO_FLAGS_READ|BIO_FLAGS_SHOULD_RETRY))
161#define BIO_set_retry_write(b) \
162 ((b)->flags|=(BIO_FLAGS_WRITE|BIO_FLAGS_SHOULD_RETRY))
165#define BIO_clear_flags(b,f) ((b)->flags&= ~(f))
166#define BIO_clear_retry_flags(b) \
167 ((b)->flags&= ~(BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
168#define BIO_get_retry_flags(b) \
169 ((b)->flags&(BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
172#define BIO_should_read(a) ((a)->flags & BIO_FLAGS_READ)
173#define BIO_should_write(a) ((a)->flags & BIO_FLAGS_WRITE)
174#define BIO_should_io_special(a) ((a)->flags & BIO_FLAGS_IO_SPECIAL)
175#define BIO_retry_type(a) ((a)->flags & BIO_FLAGS_RWS)
176#define BIO_should_retry(a) ((a)->flags & BIO_FLAGS_SHOULD_RETRY)
184#define BIO_RR_SSL_X509_LOOKUP 0x01
186#define BIO_RR_CONNECT 0x02
189#define BIO_CB_FREE 0x01
190#define BIO_CB_READ 0x02
191#define BIO_CB_WRITE 0x03
192#define BIO_CB_PUTS 0x04
193#define BIO_CB_GETS 0x05
194#define BIO_CB_CTRL 0x06
198#define BIO_CB_RETURN 0x80
199#define BIO_CB_return(a) ((a)|BIO_CB_RETURN))
200#define BIO_cb_pre(a) (!((a)&BIO_CB_RETURN))
201#define BIO_cb_post(a) ((a)&BIO_CB_RETURN)
203#define BIO_set_callback(b,cb) ((b)->callback=(cb))
204#define BIO_set_callback_arg(b,arg) ((b)->cb_arg=(char *)(arg))
205#define BIO_get_callback_arg(b) ((b)->cb_arg)
206#define BIO_get_callback(b) ((b)->callback)
207#define BIO_method_name(b) ((b)->method->name)
208#define BIO_method_type(b) ((b)->method->type)
278#define BIO_CONN_S_BEFORE 1
279#define BIO_CONN_S_GET_IP 2
280#define BIO_CONN_S_GET_PORT 3
281#define BIO_CONN_S_CREATE_SOCKET 4
282#define BIO_CONN_S_CONNECT 5
283#define BIO_CONN_S_OK 6
284#define BIO_CONN_S_BLOCKED_CONNECT 7
285#define BIO_CONN_S_NBIO 8
288#define BIO_C_SET_CONNECT 100
289#define BIO_C_DO_STATE_MACHINE 101
290#define BIO_C_SET_NBIO 102
291#define BIO_C_SET_PROXY_PARAM 103
292#define BIO_C_SET_FD 104
293#define BIO_C_GET_FD 105
294#define BIO_C_SET_FILE_PTR 106
295#define BIO_C_GET_FILE_PTR 107
296#define BIO_C_SET_FILENAME 108
297#define BIO_C_SET_SSL 109
298#define BIO_C_GET_SSL 110
299#define BIO_C_SET_MD 111
300#define BIO_C_GET_MD 112
301#define BIO_C_GET_CIPHER_STATUS 113
302#define BIO_C_SET_BUF_MEM 114
303#define BIO_C_GET_BUF_MEM_PTR 115
304#define BIO_C_GET_BUFF_NUM_LINES 116
305#define BIO_C_SET_BUFF_SIZE 117
306#define BIO_C_SET_ACCEPT 118
307#define BIO_C_SSL_MODE 119
308#define BIO_C_GET_MD_CTX 120
309#define BIO_C_GET_PROXY_PARAM 121
310#define BIO_C_SET_BUFF_READ_DATA 122
311#define BIO_C_GET_CONNECT 123
312#define BIO_C_GET_ACCEPT 124
313#define BIO_C_SET_SSL_RENEGOTIATE_BYTES 125
314#define BIO_C_GET_SSL_NUM_RENEGOTIATES 126
315#define BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT 127
316#define BIO_C_FILE_SEEK 128
317#define BIO_C_GET_CIPHER_CTX 129
318#define BIO_C_SET_BUF_MEM_EOF_RETURN 130
319#define BIO_C_SET_BIND_MODE 131
320#define BIO_C_GET_BIND_MODE 132
321#define BIO_C_FILE_TELL 133
322#define BIO_C_GET_SOCKS 134
323#define BIO_C_SET_SOCKS 135
325#define BIO_C_SET_WRITE_BUF_SIZE 136
326#define BIO_C_GET_WRITE_BUF_SIZE 137
327#define BIO_C_MAKE_BIO_PAIR 138
328#define BIO_C_DESTROY_BIO_PAIR 139
329#define BIO_C_GET_WRITE_GUARANTEE 140
330#define BIO_C_GET_READ_REQUEST 141
331#define BIO_C_SHUTDOWN_WR 142
332#define BIO_C_NREAD0 143
333#define BIO_C_NREAD 144
334#define BIO_C_NWRITE0 145
335#define BIO_C_NWRITE 146
336#define BIO_C_RESET_READ_REQUEST 147
339#define BIO_set_app_data(s,arg) BIO_set_ex_data(s,0,arg)
340#define BIO_get_app_data(s) BIO_get_ex_data(s,0)
343#define BIO_set_conn_hostname(b,name) BIO_ctrl(b,BIO_C_SET_CONNECT,0,(char *)name)
344#define BIO_set_conn_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,1,(char *)port)
345#define BIO_set_conn_ip(b,ip) BIO_ctrl(b,BIO_C_SET_CONNECT,2,(char *)ip)
346#define BIO_set_conn_int_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,3,(char *)port)
347#define BIO_get_conn_hostname(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,0)
348#define BIO_get_conn_port(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,1)
349#define BIO_get_conn_ip(b,ip) BIO_ptr_ctrl(b,BIO_C_SET_CONNECT,2)
350#define BIO_get_conn_int_port(b,port) BIO_int_ctrl(b,BIO_C_SET_CONNECT,3,port)
353#define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL)
356#define BIO_set_accept_port(b,name) BIO_ctrl(b,BIO_C_SET_ACCEPT,0,(char *)name)
357#define BIO_get_accept_port(b) BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,0)
359#define BIO_set_nbio_accept(b,n) BIO_ctrl(b,BIO_C_SET_ACCEPT,1,(n)?"a":NULL)
360#define BIO_set_accept_bios(b,bio) BIO_ctrl(b,BIO_C_SET_ACCEPT,2,(char *)bio)
362#define BIO_BIND_NORMAL 0
363#define BIO_BIND_REUSEADDR_IF_UNUSED 1
364#define BIO_BIND_REUSEADDR 2
365#define BIO_set_bind_mode(b,mode) BIO_ctrl(b,BIO_C_SET_BIND_MODE,mode,NULL)
366#define BIO_get_bind_mode(b,mode) BIO_ctrl(b,BIO_C_GET_BIND_MODE,0,NULL)
368#define BIO_do_connect(b) BIO_do_handshake(b)
369#define BIO_do_accept(b) BIO_do_handshake(b)
370#define BIO_do_handshake(b) BIO_ctrl(b,BIO_C_DO_STATE_MACHINE,0,NULL)
373#define BIO_set_url(b,url) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,0,(char *)(url))
374#define BIO_set_proxies(b,p) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,1,(char *)(p))
376#define BIO_set_filter_bio(b,s) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,2,(char *)(s))
378#define BIO_set_proxy_cb(b,cb) BIO_callback_ctrl(b,BIO_C_SET_PROXY_PARAM,3,(void *(*cb)()))
379#define BIO_set_proxy_header(b,sk) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,4,(char *)sk)
380#define BIO_set_no_connect_return(b,bool) BIO_int_ctrl(b,BIO_C_SET_PROXY_PARAM,5,bool)
382#define BIO_get_proxy_header(b,skp) BIO_ctrl(b,BIO_C_GET_PROXY_PARAM,0,(char *)skp)
383#define BIO_get_proxies(b,pxy_p) BIO_ctrl(b,BIO_C_GET_PROXY_PARAM,1,(char *)(pxy_p))
384#define BIO_get_url(b,url) BIO_ctrl(b,BIO_C_GET_PROXY_PARAM,2,(char *)(url))
385#define BIO_get_no_connect_return(b) BIO_ctrl(b,BIO_C_GET_PROXY_PARAM,5,NULL)
387#define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd)
388#define BIO_get_fd(b,c) BIO_ctrl(b,BIO_C_GET_FD,0,(char *)c)
390#define BIO_set_fp(b,fp,c) BIO_ctrl(b,BIO_C_SET_FILE_PTR,c,(char *)fp)
391#define BIO_get_fp(b,fpp) BIO_ctrl(b,BIO_C_GET_FILE_PTR,0,(char *)fpp)
393#define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
394#define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)
404#define BIO_read_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
405 BIO_CLOSE|BIO_FP_READ,(char *)name)
407#define BIO_write_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
408 BIO_CLOSE|BIO_FP_WRITE,name)
409#define BIO_append_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
410 BIO_CLOSE|BIO_FP_APPEND,name)
411#define BIO_rw_filename(b,name) BIO_ctrl(b,BIO_C_SET_FILENAME, \
412 BIO_CLOSE|BIO_FP_READ|BIO_FP_WRITE,name)
418#define BIO_set_ssl(b,ssl,c) BIO_ctrl(b,BIO_C_SET_SSL,c,(char *)ssl)
419#define BIO_get_ssl(b,sslp) BIO_ctrl(b,BIO_C_GET_SSL,0,(char *)sslp)
420#define BIO_set_ssl_mode(b,client) BIO_ctrl(b,BIO_C_SSL_MODE,client,NULL)
421#define BIO_set_ssl_renegotiate_bytes(b,num) \
422 BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_BYTES,num,NULL);
423#define BIO_get_num_renegotiates(b) \
424 BIO_ctrl(b,BIO_C_SET_SSL_NUM_RENEGOTIATES,0,NULL);
425#define BIO_set_ssl_renegotiate_timeout(b,seconds) \
426 BIO_ctrl(b,BIO_C_SET_SSL_RENEGOTIATE_TIMEOUT,seconds,NULL);
431#define BIO_get_mem_data(b,pp) BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp)
432#define BIO_set_mem_buf(b,bm,c) BIO_ctrl(b,BIO_C_SET_BUF_MEM,c,(char *)bm)
433#define BIO_get_mem_ptr(b,pp) BIO_ctrl(b,BIO_C_GET_BUF_MEM_PTR,0,(char *)pp)
434#define BIO_set_mem_eof_return(b,v) \
435 BIO_ctrl(b,BIO_C_SET_BUF_MEM_EOF_RETURN,v,NULL)
438#define BIO_get_buffer_num_lines(b) BIO_ctrl(b,BIO_C_GET_BUFF_NUM_LINES,0,NULL)
439#define BIO_set_buffer_size(b,size) BIO_ctrl(b,BIO_C_SET_BUFF_SIZE,size,NULL)
440#define BIO_set_read_buffer_size(b,size) BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,0)
441#define BIO_set_write_buffer_size(b,size) BIO_int_ctrl(b,BIO_C_SET_BUFF_SIZE,size,1)
442#define BIO_set_buffer_read_data(b,buf,num) BIO_ctrl(b,BIO_C_SET_BUFF_READ_DATA,num,buf)
445#define BIO_dup_state(b,ret) BIO_ctrl(b,BIO_CTRL_DUP,0,(char *)(ret))
447#define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
448#define BIO_eof(b) (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL)
449#define BIO_set_close(b,c) (int)BIO_ctrl(b,BIO_CTRL_SET_CLOSE,(c),NULL)
450#define BIO_get_close(b) (int)BIO_ctrl(b,BIO_CTRL_GET_CLOSE,0,NULL)
451#define BIO_pending(b) (int)BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
452#define BIO_wpending(b) (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL)
456#define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL)
457#define BIO_get_info_callback(b,cbp) (int)BIO_ctrl(b,BIO_CTRL_GET_CALLBACK,0,(void (**)())(cbp))
458#define BIO_set_info_callback(b,cb) (int)BIO_callback_ctrl(b,BIO_CTRL_SET_CALLBACK,(void (*)())(cb))
461#define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL)
464#define BIO_set_write_buf_size(b,size) (int)BIO_ctrl(b,BIO_C_SET_WRITE_BUF_SIZE,size,NULL)
465#define BIO_get_write_buf_size(b,size) (size_t)BIO_ctrl(b,BIO_C_GET_WRITE_BUF_SIZE,size,NULL)
466#define BIO_make_bio_pair(b1,b2) (int)BIO_ctrl(b1,BIO_C_MAKE_BIO_PAIR,0,b2)
467#define BIO_destroy_bio_pair(b) (int)BIO_ctrl(b,BIO_C_DESTROY_BIO_PAIR,0,NULL)
469#define BIO_get_write_guarantee(b) (int)BIO_ctrl(b,BIO_C_GET_WRITE_GUARANTEE,0,NULL)
470#define BIO_get_read_request(b) (int)BIO_ctrl(b,BIO_C_GET_READ_REQUEST,0,NULL)
490# if defined(WIN16) && defined(_WINDLL)
494# define BIO_s_file BIO_s_file_internal
495# define BIO_new_file BIO_new_file_internal
496# define BIO_new_fp BIO_new_fp_internal
501# define BIO_s_file_internal BIO_s_file
502# define BIO_new_file_internal BIO_new_file
503# define BIO_new_fp_internal BIO_s_file
585 BIO **bio2,
size_t writebuf2);
605#define BIO_F_ACPT_STATE 100
606#define BIO_F_BIO_ACCEPT 101
607#define BIO_F_BIO_BER_GET_HEADER 102
608#define BIO_F_BIO_CTRL 103
609#define BIO_F_BIO_GETHOSTBYNAME 120
610#define BIO_F_BIO_GETS 104
611#define BIO_F_BIO_GET_ACCEPT_SOCKET 105
612#define BIO_F_BIO_GET_HOST_IP 106
613#define BIO_F_BIO_GET_PORT 107
614#define BIO_F_BIO_MAKE_PAIR 121
615#define BIO_F_BIO_NEW 108
616#define BIO_F_BIO_NEW_FILE 109
617#define BIO_F_BIO_NEW_MEM_BUF 126
618#define BIO_F_BIO_NREAD 123
619#define BIO_F_BIO_NREAD0 124
620#define BIO_F_BIO_NWRITE 125
621#define BIO_F_BIO_NWRITE0 122
622#define BIO_F_BIO_PUTS 110
623#define BIO_F_BIO_READ 111
624#define BIO_F_BIO_SOCK_INIT 112
625#define BIO_F_BIO_WRITE 113
626#define BIO_F_BUFFER_CTRL 114
627#define BIO_F_CONN_CTRL 127
628#define BIO_F_CONN_STATE 115
629#define BIO_F_FILE_CTRL 116
630#define BIO_F_MEM_WRITE 117
631#define BIO_F_SSL_NEW 118
632#define BIO_F_WSASTARTUP 119
635#define BIO_R_ACCEPT_ERROR 100
636#define BIO_R_BAD_FOPEN_MODE 101
637#define BIO_R_BAD_HOSTNAME_LOOKUP 102
638#define BIO_R_BROKEN_PIPE 124
639#define BIO_R_CONNECT_ERROR 103
640#define BIO_R_ERROR_SETTING_NBIO 104
641#define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPTED_SOCKET 105
642#define BIO_R_ERROR_SETTING_NBIO_ON_ACCEPT_SOCKET 106
643#define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
644#define BIO_R_INVALID_ARGUMENT 125
645#define BIO_R_INVALID_IP_ADDRESS 108
646#define BIO_R_IN_USE 123
647#define BIO_R_KEEPALIVE 109
648#define BIO_R_NBIO_CONNECT_ERROR 110
649#define BIO_R_NO_ACCEPT_PORT_SPECIFIED 111
650#define BIO_R_NO_HOSTNAME_SPECIFIED 112
651#define BIO_R_NO_PORT_DEFINED 113
652#define BIO_R_NO_PORT_SPECIFIED 114
653#define BIO_R_NULL_PARAMETER 115
654#define BIO_R_TAG_MISMATCH 116
655#define BIO_R_UNABLE_TO_BIND_SOCKET 117
656#define BIO_R_UNABLE_TO_CREATE_SOCKET 118
657#define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
658#define BIO_R_UNINITIALIZED 120
659#define BIO_R_UNSUPPORTED_METHOD 121
660#define BIO_R_WRITE_TO_READ_ONLY_BIO 126
661#define BIO_R_WSASTARTUP 122
int BIO_socket_ioctl(int fd, long type, unsigned long *arg)
size_t BIO_ctrl_get_write_guarantee(BIO *b)
struct bio_f_buffer_ctx_struct BIO_F_BUFFER_CTX
int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2)
unsigned long BIO_number_written(BIO *bio)
int BIO_sock_should_retry(int i)
BIO_METHOD * BIO_s_socket(void)
size_t BIO_ctrl_get_read_request(BIO *b)
long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg)
BIO * BIO_new_mem_buf(void *buf, int len)
BIO * BIO_new(BIO_METHOD *type)
BIO_METHOD * BIO_s_accept(void)
int BIO_nread(BIO *bio, char **buf, int num)
int BIO_sock_non_fatal_error(int error)
int BIO_sock_error(int sock)
int BIO_get_accept_socket(char *host_port, int mode)
int BIO_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
struct hostent * BIO_gethostbyname(const char *name)
int BIO_fd_non_fatal_error(int error)
long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl, long ret)
void ERR_load_BIO_strings(void)
BIO * BIO_dup_chain(BIO *in)
int BIO_nread0(BIO *bio, char **buf)
BIO_METHOD * BIO_s_mem(void)
long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg)
BIO_METHOD * BIO_s_connect(void)
struct bio_method_st BIO_METHOD
void BIO_sock_cleanup(void)
long(* callback)(struct bio_st *, int, const char *, int, long, long)
int BIO_gets(BIO *bp, char *buf, int size)
long BIO_callback_ctrl(BIO *bp, int cmd, void(*fp)())
int BIO_puts(BIO *bp, const char *buf)
void BIO_copy_next_retry(BIO *b)
BIO * BIO_new_fd(int fd, int close_flag)
size_t BIO_ctrl_wpending(BIO *b)
int BIO_get_retry_reason(BIO *bio)
BIO * BIO_push(BIO *b, BIO *append)
int BIO_socket_nbio(int fd, int mode)
int BIO_set_tcp_ndelay(int sock, int turn_on)
BIO_METHOD * BIO_s_file(void)
BIO_METHOD * BIO_s_fd(void)
int BIO_nwrite0(BIO *bio, char **buf)
BIO * BIO_new_connect(char *host_port)
int BIO_write(BIO *b, const void *data, int len)
size_t BIO_ctrl_pending(BIO *b)
BIO_METHOD * BIO_s_null(void)
BIO * BIO_new_socket(int sock, int close_flag)
int BIO_nwrite(BIO *bio, char **buf, int num)
#define BIO_new_fp_internal
int BIO_get_port(const char *str, unsigned short *port_ptr)
int BIO_set(BIO *a, BIO_METHOD *type)
int BIO_get_host_ip(const char *str, unsigned char *ip)
int BIO_fd_should_retry(int i)
BIO * BIO_get_retry_BIO(BIO *bio, int *reason)
void BIO_free_all(BIO *a)
int BIO_read(BIO *b, void *data, int len)
BIO_METHOD * BIO_f_null(void)
int BIO_ctrl_reset_read_request(BIO *b)
BIO * BIO_find_type(BIO *b, int bio_type)
void * BIO_get_ex_data(BIO *bio, int idx)
BIO * BIO_new_accept(char *host_port)
#define BIO_new_file_internal
long BIO_ghbn_ctrl(int cmd, int iarg, char *parg)
int BIO_set_ex_data(BIO *bio, int idx, void *data)
BIO_METHOD * BIO_f_buffer(void)
BIO_METHOD * BIO_s_log(void)
#define BIO_s_file_internal
char * BIO_ptr_ctrl(BIO *bp, int cmd, long larg)
int BIO_printf(BIO *bio,...)
BIO_METHOD * BIO_s_bio(void)
BIO_METHOD * BIO_f_nbio_test(void)
unsigned long BIO_number_read(BIO *bio)
#define BIO_read_filename(b, name)
int BIO_accept(int sock, char **ip_port)
int BIO_dump(BIO *b, const char *bytes, int len)
int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, int idx, long argl, void *argp)
int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp)
void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp)