21e5bb76abab91d2836a21d1c059b6c3aba287db
[openssl.git] / doc / crypto / BIO_get_ex_new_index.pod
1 =pod
2
3 =head1 NAME
4
5 BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data,
6 ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data,
7 UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data,
8 X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data,
9 X509_STORE_get_ex_new_index, X509_STORE_set_ex_data, X509_STORE_get_ex_data,
10 X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data,
11 DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data,
12 DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data,
13 ECDH_get_ex_new_index, ECDH_set_ex_data, ECDH_get_ex_data,
14 ECDSA_get_ex_new_index, ECDSA_set_ex_data, ECDSA_get_ex_data,
15 RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data
16 - application-specific data
17
18 =head1 SYNOPSIS
19
20 The synopsis below is for the X509 structure, but is the same for all
21 crypto structures:
22
23  #include <openssl/x509.h>
24
25  int X509_get_ex_new_index(long argl, void *argp,
26                 CRYPTO_EX_new *new_func,
27                 CRYPTO_EX_dup *dup_func,
28                 CRYPTO_EX_free *free_func);
29
30  int X509_set_ex_data(X509 *d, int idx, void *arg);
31
32  void *X509_get_ex_data(X509 *d, int idx);
33
34 =head1 DESCRIPTION
35
36 These functions handle application-specific data for OpenSSL crypto
37 structures.
38
39 For details, see L<CRYPTO_get_ex_new_index(3)>.
40
41 =head1 SEE ALSO
42
43 L<CRYPTO_get_ex_new_index(3)>.
44
45 =head1 COPYRIGHT
46
47 Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
48
49 Licensed under the OpenSSL license (the "License").  You may not use
50 this file except in compliance with the License.  You can obtain a copy
51 in the file LICENSE in the source distribution or at
52 L<https://www.openssl.org/source/license.html>.
53
54 =cut