diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-04-30 13:57:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-04-30 13:57:30 +0000 |
commit | c60f4a546aa959ea31f0514d2407fd94d7411f01 (patch) | |
tree | 46983d5b96fc01eedb145f9d3846c759088ad6ef /lib/libcrypto | |
parent | 34f7dd1a956a07b629bea2543c0a8839ca4d0612 (diff) |
Slightly improve the documentation of the "oper" parameter by
explicitly listing the valid arguments, i.e. the BIO_CB_* constants.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/man/BIO_set_callback.3 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libcrypto/man/BIO_set_callback.3 b/lib/libcrypto/man/BIO_set_callback.3 index 7a653c7814e..56a0102be6c 100644 --- a/lib/libcrypto/man/BIO_set_callback.3 +++ b/lib/libcrypto/man/BIO_set_callback.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_set_callback.3,v 1.11 2023/04/07 14:47:37 schwarze Exp $ +.\" $OpenBSD: BIO_set_callback.3,v 1.12 2023/04/30 13:57:29 schwarze Exp $ .\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 .\" .\" This file is a derived work. @@ -65,7 +65,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 7 2023 $ +.Dd $Mdocdate: April 30 2023 $ .Dt BIO_SET_CALLBACK 3 .Os .Sh NAME @@ -190,7 +190,14 @@ The arguments of the callback functions are as follows: .It Fa b The BIO the callback is attached to. .It Fa oper -The operation being performed. +The operation being performed, which is one of +.Dv BIO_CB_CTRL , +.Dv BIO_CB_FREE , +.Dv BIO_CB_GETS , +.Dv BIO_CB_PUTS , +.Dv BIO_CB_READ , +or +.Dv BIO_CB_WRITE . For some operations, the callback is called twice, once before and once after the actual operation. The latter case has |