SSL_get_rbio.pod 640 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. =pod
  2. =head1 NAME
  3. SSL_get_rbio - get BIO linked to an SSL object
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. BIO *SSL_get_rbio(SSL *ssl);
  7. BIO *SSL_get_wbio(SSL *ssl);
  8. =head1 DESCRIPTION
  9. SSL_get_rbio() and SSL_get_wbio() return pointers to the BIOs for the
  10. read or the write channel, which can be different. The reference count
  11. of the BIO is not incremented.
  12. =head1 RETURN VALUES
  13. The following return values can occur:
  14. =over 4
  15. =item NULL
  16. No BIO was connected to the SSL object
  17. =item Any other pointer
  18. The BIO linked to B<ssl>.
  19. =back
  20. =head1 SEE ALSO
  21. L<SSL_set_bio(3)|SSL_set_bio(3)>, L<ssl(3)|ssl(3)> , L<bio(3)|bio(3)>
  22. =cut