X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fbio%2Fbio_lib.c;fp=crypto%2Fbio%2Fbio_lib.c;h=4708b984fa5d27ca1d27875cf689becfb326c00b;hb=68801bcb766806a04e95e8ef714a0b836b1d7069;hp=cceef45095c2e56049f4e322d71668fd8ffa5d28;hpb=4ed9e0a1e36eaa8f07a4a5371f9d13912a3f9da8;p=openssl.git diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c index cceef45095..4708b984fa 100644 --- a/crypto/bio/bio_lib.c +++ b/crypto/bio/bio_lib.c @@ -490,6 +490,16 @@ int BIO_recvmmsg(BIO *b, BIO_MSG *msg, return ret; } +int BIO_get_rpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc) +{ + return BIO_ctrl(b, BIO_CTRL_GET_RPOLL_DESCRIPTOR, 0, desc); +} + +int BIO_get_wpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc) +{ + return BIO_ctrl(b, BIO_CTRL_GET_WPOLL_DESCRIPTOR, 0, desc); +} + int BIO_puts(BIO *b, const char *buf) { int ret;