diff options
author | schwarze <> | 2016-11-18 18:54:43 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-18 18:54:43 +0000 |
commit | 8216fe7ad0aeb239366004de9dd792c3051d167f (patch) | |
tree | f99f2d7587f96e09813b4e332a770cc9dba30256 /src/lib/libcrypto/man/BIO_get_ex_new_index.3 | |
parent | de4a02ae7c1df3049ca5a28c5d3be87b3ce3f972 (diff) | |
download | openbsd-8216fe7ad0aeb239366004de9dd792c3051d167f.tar.gz openbsd-8216fe7ad0aeb239366004de9dd792c3051d167f.tar.bz2 openbsd-8216fe7ad0aeb239366004de9dd792c3051d167f.zip |
import from OpenSSL;
the referenced CRYPTO_get_ex_new_index(3) will follow shortly
Diffstat (limited to 'src/lib/libcrypto/man/BIO_get_ex_new_index.3')
-rw-r--r-- | src/lib/libcrypto/man/BIO_get_ex_new_index.3 | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/BIO_get_ex_new_index.3 b/src/lib/libcrypto/man/BIO_get_ex_new_index.3 new file mode 100644 index 0000000000..b91ac4f739 --- /dev/null +++ b/src/lib/libcrypto/man/BIO_get_ex_new_index.3 | |||
@@ -0,0 +1,135 @@ | |||
1 | .\" $OpenBSD: BIO_get_ex_new_index.3,v 1.1 2016/11/18 18:54:43 schwarze Exp $ | ||
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | ||
3 | .\" | ||
4 | .\" This file was written by Rich Salz <rsalz@akamai.com>. | ||
5 | .\" Copyright (c) 2015, 2016 The OpenSSL Project. All rights reserved. | ||
6 | .\" | ||
7 | .\" Redistribution and use in source and binary forms, with or without | ||
8 | .\" modification, are permitted provided that the following conditions | ||
9 | .\" are met: | ||
10 | .\" | ||
11 | .\" 1. Redistributions of source code must retain the above copyright | ||
12 | .\" notice, this list of conditions and the following disclaimer. | ||
13 | .\" | ||
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
15 | .\" notice, this list of conditions and the following disclaimer in | ||
16 | .\" the documentation and/or other materials provided with the | ||
17 | .\" distribution. | ||
18 | .\" | ||
19 | .\" 3. All advertising materials mentioning features or use of this | ||
20 | .\" software must display the following acknowledgment: | ||
21 | .\" "This product includes software developed by the OpenSSL Project | ||
22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
23 | .\" | ||
24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
25 | .\" endorse or promote products derived from this software without | ||
26 | .\" prior written permission. For written permission, please contact | ||
27 | .\" openssl-core@openssl.org. | ||
28 | .\" | ||
29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
31 | .\" permission of the OpenSSL Project. | ||
32 | .\" | ||
33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
34 | .\" acknowledgment: | ||
35 | .\" "This product includes software developed by the OpenSSL Project | ||
36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
37 | .\" | ||
38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
50 | .\" | ||
51 | .Dd $Mdocdate: November 18 2016 $ | ||
52 | .Dt BIO_GET_EX_NEW_INDEX 3 | ||
53 | .Os | ||
54 | .Sh NAME | ||
55 | .Nm BIO_get_ex_new_index , | ||
56 | .Nm BIO_set_ex_data , | ||
57 | .Nm BIO_get_ex_data , | ||
58 | .Nm ENGINE_get_ex_new_index , | ||
59 | .Nm ENGINE_set_ex_data , | ||
60 | .Nm ENGINE_get_ex_data , | ||
61 | .Nm UI_get_ex_new_index , | ||
62 | .Nm UI_set_ex_data , | ||
63 | .Nm UI_get_ex_data , | ||
64 | .Nm X509_get_ex_new_index , | ||
65 | .Nm X509_set_ex_data , | ||
66 | .Nm X509_get_ex_data , | ||
67 | .Nm X509_STORE_CTX_get_ex_new_index , | ||
68 | .Nm X509_STORE_CTX_set_ex_data , | ||
69 | .Nm X509_STORE_CTX_get_ex_data , | ||
70 | .Nm DH_get_ex_new_index , | ||
71 | .Nm DH_set_ex_data , | ||
72 | .Nm DH_get_ex_data , | ||
73 | .Nm DSA_get_ex_new_index , | ||
74 | .Nm DSA_set_ex_data , | ||
75 | .Nm DSA_get_ex_data , | ||
76 | .Nm ECDH_get_ex_new_index , | ||
77 | .Nm ECDH_set_ex_data , | ||
78 | .Nm ECDH_get_ex_data , | ||
79 | .Nm ECDSA_get_ex_new_index , | ||
80 | .Nm ECDSA_set_ex_data , | ||
81 | .Nm ECDSA_get_ex_data , | ||
82 | .Nm RSA_get_ex_new_index , | ||
83 | .Nm RSA_set_ex_data , | ||
84 | .Nm RSA_get_ex_data | ||
85 | .Nd application-specific data | ||
86 | .Sh SYNOPSIS | ||
87 | .In openssl/x509.h | ||
88 | .Ft int | ||
89 | .Fo TYPE_get_ex_new_index | ||
90 | .Fa "long argl" | ||
91 | .Fa "void *argp" | ||
92 | .Fa "CRYPTO_EX_new *new_func" | ||
93 | .Fa "CRYPTO_EX_dup *dup_func" | ||
94 | .Fa "CRYPTO_EX_free *free_func" | ||
95 | .Fc | ||
96 | .Ft int | ||
97 | .Fo TYPE_set_ex_data | ||
98 | .Fa "TYPE *d" | ||
99 | .Fa "int idx" | ||
100 | .Fa "void *arg" | ||
101 | .Fc | ||
102 | .Ft void * | ||
103 | .Fo TYPE_get_ex_data | ||
104 | .Fa "TYPE *d" | ||
105 | .Fa "int idx" | ||
106 | .Fc | ||
107 | .Sh DESCRIPTION | ||
108 | In the description here, | ||
109 | .Vt TYPE | ||
110 | is used a placeholder for any of the OpenSSL datatypes listed in | ||
111 | .Xr CRYPTO_get_ex_new_index 3 . | ||
112 | .Pp | ||
113 | These functions handle application-specific data for OpenSSL data | ||
114 | structures. | ||
115 | .Pp | ||
116 | .Fn TYPE_get_ex_new_index | ||
117 | is a macro that calls | ||
118 | .Xr CRYPTO_get_ex_new_index 3 | ||
119 | with the correct index value. | ||
120 | .Pp | ||
121 | .Fn TYPE_set_ex_data | ||
122 | is a function that calls | ||
123 | .Xr CRYPTO_set_ex_data 3 | ||
124 | with an offset into the opaque exdata part of the | ||
125 | .Vt TYPE | ||
126 | object. | ||
127 | .Pp | ||
128 | .Fn TYPE_get_ex_data | ||
129 | is a function that calls | ||
130 | .Xr CRYPTO_get_ex_data 3 | ||
131 | with an an offset into the opaque exdata part of the | ||
132 | .Vt TYPE | ||
133 | object. | ||
134 | .Sh SEE ALSO | ||
135 | .Xr CRYPTO_get_ex_new_index 3 | ||