• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssl/include/openssl/

Lines Matching refs:BIO

48 # define BIO_TYPE_NBIO_TEST      (16|BIO_TYPE_FILTER)/* server proxy BIO */
50 # define BIO_TYPE_BIO (19|BIO_TYPE_SOURCE_SINK)/* half a BIO pair */
82 # define BIO_CTRL_DUP 12/* man - extra stuff for 'duped' BIO */
90 /* dgram BIO stuff */
91 # define BIO_CTRL_DGRAM_CONNECT 31/* BIO dgram special */
145 * internal BIO see include/internal/bio.h:
198 void BIO_set_flags(BIO *b, int flags);
199 int BIO_test_flags(const BIO *b, int flags);
200 void BIO_clear_flags(BIO *b, int flags);
225 * condition. After this returns true, BIO *BIO_get_retry_BIO(BIO *bio, int
226 * *reason); will walk the BIO stack and return the 'reason' for the special
227 * and the offending BIO. Given a BIO, BIO_get_retry_reason(bio) will return
234 /* Returned from the connect BIO when a connect would have blocked */
236 /* Returned from the accept BIO when an accept would have blocked */
239 /* These are passed by the BIO callback */
256 typedef long (*BIO_callback_fn)(BIO *b, int oper, const char *argp, int argi,
258 typedef long (*BIO_callback_fn_ex)(BIO *b, int oper, const char *argp,
261 BIO_callback_fn BIO_get_callback(const BIO *b);
262 void BIO_set_callback(BIO *b, BIO_callback_fn callback);
264 BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b);
265 void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback);
267 char *BIO_get_callback_arg(const BIO *b);
268 void BIO_set_callback_arg(BIO *b, char *arg);
272 const char *BIO_method_name(const BIO *b);
273 int BIO_method_type(const BIO *b);
275 typedef int BIO_info_cb(BIO *, int, int);
278 DEFINE_STACK_OF(BIO)
280 /* Prefix and suffix callback in ASN1 BIO */
281 typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
452 int BIO_read_filename(BIO *b, const char *name);
466 * structure. This is because the ssl read BIO is now pointed to by the
467 * next_bio field in the bio. So when you free the BIO, make sure you are
468 * doing a BIO_free_all() to catch the underlying BIO.
507 size_t BIO_ctrl_pending(BIO *b);
508 size_t BIO_ctrl_wpending(BIO *b);
527 size_t BIO_ctrl_get_write_guarantee(BIO *b);
528 size_t BIO_ctrl_get_read_request(BIO *b);
529 int BIO_ctrl_reset_read_request(BIO *b);
549 int BIO_set_ex_data(BIO *bio, int idx, void *data);
550 void *BIO_get_ex_data(BIO *bio, int idx);
551 uint64_t BIO_number_read(BIO *bio);
552 uint64_t BIO_number_written(BIO *bio);
555 int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
557 int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
559 int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
561 int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
565 BIO *BIO_new_file(const char *filename, const char *mode);
567 BIO *BIO_new_fp(FILE *stream, int close_flag);
569 BIO *BIO_new(const BIO_METHOD *type);
570 int BIO_free(BIO *a);
571 void BIO_set_data(BIO *a, void *ptr);
572 void *BIO_get_data(BIO *a);
573 void BIO_set_init(BIO *a, int init);
574 int BIO_get_init(BIO *a);
575 void BIO_set_shutdown(BIO *a, int shut);
576 int BIO_get_shutdown(BIO *a);
577 void BIO_vfree(BIO *a);
578 int BIO_up_ref(BIO *a);
579 int BIO_read(BIO *b, void *data, int dlen);
580 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
581 int BIO_gets(BIO *bp, char *buf, int size);
582 int BIO_write(BIO *b, const void *data, int dlen);
583 int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);
584 int BIO_puts(BIO *bp, const char *buf);
585 int BIO_indent(BIO *b, int indent, int max);
586 long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
587 long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
588 void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
589 long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
590 BIO *BIO_push(BIO *b, BIO *append);
591 BIO *BIO_pop(BIO *b);
592 void BIO_free_all(BIO *a);
593 BIO *BIO_find_type(BIO *b, int bio_type);
594 BIO *BIO_next(BIO *b);
595 void BIO_set_next(BIO *b, BIO *next);
596 BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
597 int BIO_get_retry_reason(BIO *bio);
598 void BIO_set_retry_reason(BIO *bio, int reason);
599 BIO *BIO_dup_chain(BIO *in);
601 int BIO_nread0(BIO *bio, char **buf);
602 int BIO_nread(BIO *bio, char **buf, int num);
603 int BIO_nwrite0(BIO *bio, char **buf);
604 int BIO_nwrite(BIO *bio, char **buf, int num);
606 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi,
611 BIO *BIO_new_mem_buf(const void *buf, int len);
628 BIO *BIO_new_dgram(int fd, int close_flag);
631 BIO *BIO_new_dgram_sctp(int fd, int close_flag);
632 int BIO_dgram_is_sctp(BIO *bio);
633 int BIO_dgram_sctp_notification_cb(BIO *b,
634 void (*handle_notifications) (BIO *bio,
638 int BIO_dgram_sctp_wait_for_dry(BIO *b);
639 int BIO_dgram_sctp_msg_waiting(BIO *b);
654 int BIO_dump(BIO *b, const char *bytes, int len);
655 int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent);
660 int BIO_hex_string(BIO *out, int indent, int width, unsigned char *data,
734 BIO *BIO_new_socket(int sock, int close_flag);
735 BIO *BIO_new_connect(const char *host_port);
736 BIO *BIO_new_accept(const char *host_port);
739 BIO *BIO_new_fd(int fd, int close_flag);
741 int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
742 BIO **bio2, size_t writebuf2);
744 * If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints.
749 void BIO_copy_next_retry(BIO *b);
772 int BIO_printf(BIO *bio, const char *format, ...)
774 int BIO_vprintf(BIO *bio, const char *format, va_list args)
786 int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int);
787 int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t,
790 int (*write) (BIO *, const char *, int));
792 int (*bwrite) (BIO *, const char *, size_t, size_t *));
793 int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int);
794 int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
796 int (*read) (BIO *, char *, int));
798 int (*bread) (BIO *, char *, size_t, size_t *));
799 int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *);
801 int (*puts) (BIO *, const char *));
802 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
804 int (*gets) (BIO *, char *, int));
805 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
807 long (*ctrl) (BIO *, int, long, void *));
808 int (*BIO_meth_get_create(const BIO_METHOD *bion)) (BIO *);
809 int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *));
810 int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *);
811 int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *));
813 (BIO *, int, BIO_info_cb *);
815 long (*callback_ctrl) (BIO *, int,