summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2018-02-19 14:22:15 +0000
committerschwarze <>2018-02-19 14:22:15 +0000
commit47f6e658dcc0cabc72c7ca77a0998079f33d7ab1 (patch)
tree87eae0dfa79e4b9792a0e158857c7c3eb9b44ce2 /src
parentd0a1381f4b8526089e55008599b0b8b4f518f864 (diff)
downloadopenbsd-47f6e658dcc0cabc72c7ca77a0998079f33d7ab1.tar.gz
openbsd-47f6e658dcc0cabc72c7ca77a0998079f33d7ab1.tar.bz2
openbsd-47f6e658dcc0cabc72c7ca77a0998079f33d7ab1.zip
In bio.h rev. 1.33 2018/02/18 12:59:06, tb@ provided BIO_meth_set_gets(3).
Merge the documentation from OpenSSL.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/BIO_meth_new.322
1 files changed, 20 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/BIO_meth_new.3 b/src/lib/libcrypto/man/BIO_meth_new.3
index d50b7ffc76..0036bd1b2b 100644
--- a/src/lib/libcrypto/man/BIO_meth_new.3
+++ b/src/lib/libcrypto/man/BIO_meth_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_meth_new.3,v 1.1 2018/02/17 23:24:38 schwarze Exp $ 1.\" $OpenBSD: BIO_meth_new.3,v 1.2 2018/02/19 14:22:15 schwarze Exp $
2.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 2.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: February 17 2018 $ 68.Dd $Mdocdate: February 19 2018 $
69.Dt BIO_METH_NEW 3 69.Dt BIO_METH_NEW 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -74,6 +74,7 @@
74.Nm BIO_meth_set_write , 74.Nm BIO_meth_set_write ,
75.Nm BIO_meth_set_read , 75.Nm BIO_meth_set_read ,
76.Nm BIO_meth_set_puts , 76.Nm BIO_meth_set_puts ,
77.Nm BIO_meth_set_gets ,
77.Nm BIO_meth_set_ctrl , 78.Nm BIO_meth_set_ctrl ,
78.Nm BIO_meth_set_create , 79.Nm BIO_meth_set_create ,
79.Nm BIO_meth_set_destroy 80.Nm BIO_meth_set_destroy
@@ -105,6 +106,11 @@
105.Fa "int (*puts)(BIO *, const char *)" 106.Fa "int (*puts)(BIO *, const char *)"
106.Fc 107.Fc
107.Ft int 108.Ft int
109.Fo BIO_meth_set_gets
110.Fa "BIO_METHOD *biom"
111.Fa "int (*gets)(BIO *, char *, int)"
112.Fc
113.Ft int
108.Fo BIO_meth_set_ctrl 114.Fo BIO_meth_set_ctrl
109.Fa "BIO_METHOD *biom" 115.Fa "BIO_METHOD *biom"
110.Fa "long (*ctrl)(BIO *, int, long, void *)" 116.Fa "long (*ctrl)(BIO *, int, long, void *)"
@@ -203,6 +209,18 @@ The parameters and the return value of
203have the same meaning as for 209have the same meaning as for
204.Xr BIO_puts 3 . 210.Xr BIO_puts 3 .
205.Pp 211.Pp
212.Fn BIO_meth_set_gets
213sets the function
214.Fa gets
215used for reading a line of data to the
216.Vt BIO .
217This function is called from
218.Xr BIO_gets 3 .
219The parameters and the return value of
220.Fa gets
221have the same meaning as for
222.Xr BIO_gets 3 .
223.Pp
206.Fn BIO_meth_set_ctrl 224.Fn BIO_meth_set_ctrl
207sets the function 225sets the function
208.Fa ctrl 226.Fa ctrl