25RCSIDH(lib_bio_fd_write_h,
"$Id: 8560f46f6f0b022f601297bb4e85a5d126703a0e $")
27#include <freeradius-devel/bio/fd_errno.h>
53 if ((
size_t) rcode == size)
return false;
63 if (error < 0) *rcode_p = error;
78 error = my->cb.write_resume((
fr_bio_t *) my);
79 if (error < 0) *rcode_p = error;
85 if (rcode == 0)
return false;
bool write_blocked
did we block on write?
static bool fr_bio_fd_errno_retry(fr_bio_fd_t *my, ssize_t *rcode_p, int *tries_p, bool is_write)
Turn a failed read / write into a bio return code.
static bool fr_bio_fd_write_retry(fr_bio_fd_t *my, ssize_t *rcode_p, int *tries_p, size_t size)
Common finalization code for the write functions.
int fr_bio_write_blocked(fr_bio_t *bio)
Internal BIO function to tell all BIOs that it's blocked.