27 RCSIDH(lib_bio_bio_priv_h,
"$Id: 55195b4b9de3fa5aebb18f7b86820b4b2f29fdb1 $")
29 #define _BIO_PRIVATE 1
30 #include <freeradius-devel/bio/base.h>
52 #define FR_BIO_COMMON \
54 fr_bio_cb_funcs_t cb; \
55 fr_bio_priv_callback_t priv_cb
static int const char char buffer[256]
fr_dlist_t _CONST entry
in the linked list of multiple bios
int(* fr_bio_io_t)(fr_bio_t *bio)
static fr_bio_t * fr_bio_prev(fr_bio_t *bio)
static fr_bio_t * fr_bio_next(fr_bio_t *bio)
void(* fr_bio_callback_t)(fr_bio_t *bio)
fr_bio_io_t read_resume
"unblocked" is too similar to "blocked"
fr_bio_io_t write_blocked
static void fr_bio_chain(fr_bio_t *first, fr_bio_t *second)
Chain one bio after another.
int fr_bio_write_blocked(fr_bio_t *bio)
Internal BIO function to tell all BIOs that it's blocked.
int(* fr_bio_shutdown_t)(fr_bio_t *bio)
fr_bio_callback_t shutdown
void fr_bio_eof(fr_bio_t *bio)
Internal BIO function to run EOF callbacks.
ssize_t fr_bio_next_read(fr_bio_t *bio, void *packet_ctx, void *buffer, size_t size)
Internal bio function which just reads from the "next" bio.
static void fr_bio_unchain(fr_bio_t *bio)
Remove a bio from a chain.
ssize_t fr_bio_next_write(fr_bio_t *bio, void *packet_ctx, void const *buffer, size_t size)
Internal bio function which just writes to the "next" bio.
static void fr_dlist_entry_unlink(fr_dlist_t *entry)
Remove an item from the dlist when we don't have access to the head.