168651Skris=pod
268651Skris
368651Skris=head1 NAME
468651Skris
568651SkrisSSL_get_rbio - get BIO linked to an SSL object
668651Skris
768651Skris=head1 SYNOPSIS
868651Skris
968651Skris #include <openssl/ssl.h>
1068651Skris
1168651Skris BIO *SSL_get_rbio(SSL *ssl);
1268651Skris BIO *SSL_get_wbio(SSL *ssl);
1368651Skris
1468651Skris=head1 DESCRIPTION
1568651Skris
1668651SkrisSSL_get_rbio() and SSL_get_wbio() return pointers to the BIOs for the
1768651Skrisread or the write channel, which can be different. The reference count
1868651Skrisof the BIO is not incremented.
1968651Skris
2068651Skris=head1 RETURN VALUES
2168651Skris
2268651SkrisThe following return values can occur:
2368651Skris
2468651Skris=over 4
2568651Skris
2668651Skris=item NULL
2768651Skris
2868651SkrisNo BIO was connected to the SSL object
2968651Skris
3068651Skris=item Any other pointer
3168651Skris
3268651SkrisThe BIO linked to B<ssl>.
3368651Skris
3468651Skris=back
3568651Skris
3668651Skris=head1 SEE ALSO
3768651Skris
3868651SkrisL<SSL_set_bio(3)|SSL_set_bio(3)>, L<ssl(3)|ssl(3)> , L<bio(3)|bio(3)>
3968651Skris
4068651Skris=cut
41