• Home
  • Raw
  • Download

Lines Matching refs:BIO

80 DEFINE_STACK_OF(BIO)
84 OPENSSL_EXPORT BIO *BIO_new(const BIO_METHOD *method);
92 OPENSSL_EXPORT int BIO_free(BIO *bio);
98 OPENSSL_EXPORT void BIO_vfree(BIO *bio);
101 OPENSSL_EXPORT int BIO_up_ref(BIO *bio);
108 OPENSSL_EXPORT int BIO_read(BIO *bio, void *data, int len);
118 OPENSSL_EXPORT int BIO_gets(BIO *bio, char *buf, int size);
122 OPENSSL_EXPORT int BIO_write(BIO *bio, const void *data, int len);
126 OPENSSL_EXPORT int BIO_write_all(BIO *bio, const void *data, size_t len);
130 OPENSSL_EXPORT int BIO_puts(BIO *bio, const char *buf);
134 OPENSSL_EXPORT int BIO_flush(BIO *bio);
144 OPENSSL_EXPORT long BIO_ctrl(BIO *bio, int cmd, long larg, void *parg);
149 OPENSSL_EXPORT char *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
153 OPENSSL_EXPORT long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
158 OPENSSL_EXPORT int BIO_reset(BIO *bio);
163 OPENSSL_EXPORT int BIO_eof(BIO *bio);
166 OPENSSL_EXPORT void BIO_set_flags(BIO *bio, int flags);
169 OPENSSL_EXPORT int BIO_test_flags(const BIO *bio, int flags);
174 OPENSSL_EXPORT int BIO_should_read(const BIO *bio);
179 OPENSSL_EXPORT int BIO_should_write(const BIO *bio);
184 OPENSSL_EXPORT int BIO_should_retry(const BIO *bio);
190 OPENSSL_EXPORT int BIO_should_io_special(const BIO *bio);
200 OPENSSL_EXPORT int BIO_get_retry_reason(const BIO *bio);
203 OPENSSL_EXPORT void BIO_clear_flags(BIO *bio, int flags);
207 OPENSSL_EXPORT void BIO_set_retry_read(BIO *bio);
211 OPENSSL_EXPORT void BIO_set_retry_write(BIO *bio);
215 OPENSSL_EXPORT int BIO_get_retry_flags(BIO *bio);
219 OPENSSL_EXPORT void BIO_clear_retry_flags(BIO *bio);
223 OPENSSL_EXPORT int BIO_method_type(const BIO *bio);
242 typedef long (*bio_info_cb)(BIO *bio, int event, const char *parg, int cmd,
248 OPENSSL_EXPORT long BIO_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp);
251 OPENSSL_EXPORT size_t BIO_pending(const BIO *bio);
255 OPENSSL_EXPORT size_t BIO_ctrl_pending(const BIO *bio);
258 OPENSSL_EXPORT size_t BIO_wpending(const BIO *bio);
264 OPENSSL_EXPORT int BIO_set_close(BIO *bio, int close_flag);
268 OPENSSL_EXPORT size_t BIO_number_read(const BIO *bio);
272 OPENSSL_EXPORT size_t BIO_number_written(const BIO *bio);
286 OPENSSL_EXPORT BIO *BIO_push(BIO *bio, BIO *appended_bio);
292 OPENSSL_EXPORT BIO *BIO_pop(BIO *bio);
296 OPENSSL_EXPORT BIO *BIO_next(BIO *bio);
301 OPENSSL_EXPORT void BIO_free_all(BIO *bio);
305 OPENSSL_EXPORT BIO *BIO_find_type(BIO *bio, int type);
309 OPENSSL_EXPORT void BIO_copy_next_retry(BIO *bio);
316 OPENSSL_EXPORT int BIO_printf(BIO *bio, const char *format, ...)
324 OPENSSL_EXPORT int BIO_indent(BIO *bio, unsigned indent, unsigned max_indent);
328 OPENSSL_EXPORT int BIO_hexdump(BIO *bio, const uint8_t *data, size_t len,
333 OPENSSL_EXPORT void ERR_print_errors(BIO *bio);
347 OPENSSL_EXPORT int BIO_read_asn1(BIO *bio, uint8_t **out, size_t *out_len,
380 OPENSSL_EXPORT BIO *BIO_new_mem_buf(const void *buf, int len);
385 OPENSSL_EXPORT int BIO_mem_contents(const BIO *bio,
395 OPENSSL_EXPORT long BIO_get_mem_data(BIO *bio, char **contents);
399 OPENSSL_EXPORT int BIO_get_mem_ptr(BIO *bio, BUF_MEM **out);
404 OPENSSL_EXPORT int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership);
416 OPENSSL_EXPORT int BIO_set_mem_eof_return(BIO *bio, int eof_value);
433 OPENSSL_EXPORT BIO *BIO_new_fd(int fd, int close_flag);
441 OPENSSL_EXPORT int BIO_set_fd(BIO *bio, int fd, int close_flag);
449 OPENSSL_EXPORT int BIO_get_fd(BIO *bio, int *out_fd);
469 OPENSSL_EXPORT BIO *BIO_new_file(const char *filename, const char *mode);
474 OPENSSL_EXPORT BIO *BIO_new_fp(FILE *stream, int close_flag);
478 OPENSSL_EXPORT int BIO_get_fp(BIO *bio, FILE **out_file);
483 OPENSSL_EXPORT int BIO_set_fp(BIO *bio, FILE *file, int close_flag);
488 OPENSSL_EXPORT int BIO_read_filename(BIO *bio, const char *filename);
493 OPENSSL_EXPORT int BIO_write_filename(BIO *bio, const char *filename);
498 OPENSSL_EXPORT int BIO_append_filename(BIO *bio, const char *filename);
503 OPENSSL_EXPORT int BIO_rw_filename(BIO *bio, const char *filename);
523 OPENSSL_EXPORT BIO *BIO_new_socket(int fd, int close_flag);
539 OPENSSL_EXPORT BIO *BIO_new_connect(const char *host_and_optional_port);
546 OPENSSL_EXPORT int BIO_set_conn_hostname(BIO *bio,
551 OPENSSL_EXPORT int BIO_set_conn_port(BIO *bio, const char *port_str);
555 OPENSSL_EXPORT int BIO_set_conn_int_port(BIO *bio, const int *port);
559 OPENSSL_EXPORT int BIO_set_nbio(BIO *bio, int on);
563 OPENSSL_EXPORT int BIO_do_connect(BIO *bio);
595 OPENSSL_EXPORT int BIO_new_bio_pair(BIO **out1, size_t writebuf1, BIO **out2,
600 OPENSSL_EXPORT size_t BIO_ctrl_get_read_request(BIO *bio);
605 OPENSSL_EXPORT size_t BIO_ctrl_get_write_guarantee(BIO *bio);
610 OPENSSL_EXPORT int BIO_shutdown_wr(BIO *bio);
641 int (*create)(BIO *));
646 int (*destroy)(BIO *));
652 int (*write)(BIO *, const char *, int));
657 int (*read)(BIO *, char *, int));
662 int (*gets)(BIO *, char *, int));
667 long (*ctrl)(BIO *, int, long, void *));
671 OPENSSL_EXPORT void BIO_set_data(BIO *bio, void *ptr);
674 OPENSSL_EXPORT void *BIO_get_data(BIO *bio);
678 OPENSSL_EXPORT void BIO_set_init(BIO *bio, int init);
681 OPENSSL_EXPORT int BIO_get_init(BIO *bio);
740 OPENSSL_EXPORT void BIO_set_retry_special(BIO *bio);
743 OPENSSL_EXPORT int BIO_set_write_buffer_size(BIO *bio, int buffer_size);
746 OPENSSL_EXPORT void BIO_set_shutdown(BIO *bio, int shutdown);
749 OPENSSL_EXPORT int BIO_get_shutdown(BIO *bio);
754 int (*puts)(BIO *, const char *));
807 int (*bwrite)(BIO *, const char *, int);
808 int (*bread)(BIO *, char *, int);
810 int (*bputs)(BIO *, const char *);
811 int (*bgets)(BIO *, char *, int);
812 long (*ctrl)(BIO *, int, long, void *);
813 int (*create)(BIO *);
814 int (*destroy)(BIO *);
815 long (*callback_ctrl)(BIO *, int, bio_info_cb);
837 BIO *next_bio; // used by filter BIOs
905 BORINGSSL_MAKE_DELETER(BIO, BIO_free)
906 BORINGSSL_MAKE_UP_REF(BIO, BIO_up_ref)