SSL_get_rbio.pod 957 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. =pod
  2. =head1 NAME
  3. SSL_get_rbio, SSL_get_wbio - 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)>, L<ssl(7)> , L<bio(7)>
  22. =head1 COPYRIGHT
  23. Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
  24. Licensed under the OpenSSL license (the "License"). You may not use
  25. this file except in compliance with the License. You can obtain a copy
  26. in the file LICENSE in the source distribution or at
  27. L<https://www.openssl.org/source/license.html>.
  28. =cut