1BIO_GET_EX_NEW_INDEX(3)             OpenSSL            BIO_GET_EX_NEW_INDEX(3)
2
3
4

NAME

6       BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data,
7       ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data,
8       UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data,
9       X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data,
10       X509_STORE_get_ex_new_index, X509_STORE_set_ex_data,
11       X509_STORE_get_ex_data, X509_STORE_CTX_get_ex_new_index,
12       X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data,
13       DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data,
14       DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data,
15       ECDH_get_ex_new_index, ECDH_set_ex_data, ECDH_get_ex_data,
16       EC_KEY_get_ex_new_index, EC_KEY_set_ex_data, EC_KEY_get_ex_data,
17       RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data -
18       application-specific data
19

SYNOPSIS

21        #include <openssl/x509.h>
22
23        int TYPE_get_ex_new_index(long argl, void *argp,
24                                  CRYPTO_EX_new *new_func,
25                                  CRYPTO_EX_dup *dup_func,
26                                  CRYPTO_EX_free *free_func);
27
28        int TYPE_set_ex_data(TYPE *d, int idx, void *arg);
29
30        void *TYPE_get_ex_data(TYPE *d, int idx);
31

DESCRIPTION

33       In the description here, TYPE is used a placeholder for any of the
34       OpenSSL datatypes listed in CRYPTO_get_ex_new_index(3).
35
36       These functions handle application-specific data for OpenSSL data
37       structures.
38
39       TYPE_get_new_ex_index() is a macro that calls CRYPTO_get_ex_new_index()
40       with the correct index value.
41
42       TYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with
43       an offset into the opaque exdata part of the TYPE object.
44
45       TYPE_get_ex_data() is a function that calls CRYPTO_get_ex_data() with
46       an offset into the opaque exdata part of the TYPE object.
47

RETURN VALUES

49       TYPE_get_new_ex_index() returns a new index on success or -1 on error.
50
51       TYPE_set_ex_data() returns 1 on success or 0 on error.
52
53       TYPE_get_ex_data() returns the application data or NULL if an error
54       occurred.
55

SEE ALSO

57       CRYPTO_get_ex_new_index(3).
58
60       Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
61
62       Licensed under the OpenSSL license (the "License").  You may not use
63       this file except in compliance with the License.  You can obtain a copy
64       in the file LICENSE in the source distribution or at
65       <https://www.openssl.org/source/license.html>.
66
67
68
691.1.1d                            2019-10-03           BIO_GET_EX_NEW_INDEX(3)
Impressum