Harmonise use of EVP_CTRL_GET_TAG/EVP_CTRL_SET_TAG/EVP_CTRL_SET_IVLEN
[openssl.git] / doc / crypto / DH_get_ex_new_index.pod
1 =pod
2
3 =head1 NAME
4
5 DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data - add application specific data to DH structures
6
7 =head1 SYNOPSIS
8
9  #include <openssl/dh.h>
10
11  int DH_get_ex_new_index(long argl, void *argp,
12                 CRYPTO_EX_new *new_func,
13                 CRYPTO_EX_dup *dup_func,
14                 CRYPTO_EX_free *free_func);
15
16  int DH_set_ex_data(DH *d, int idx, void *arg);
17
18  char *DH_get_ex_data(DH *d, int idx);
19
20 =head1 DESCRIPTION
21
22 These functions handle application specific data in DH
23 structures. Their usage is identical to that of
24 RSA_get_ex_new_index(), RSA_set_ex_data() and RSA_get_ex_data()
25 as described in L<RSA_get_ex_new_index(3)>.
26
27 =head1 SEE ALSO
28
29 L<RSA_get_ex_new_index(3)|RSA_get_ex_new_index(3)>, L<dh(3)|dh(3)>
30
31 =head1 HISTORY
32
33 DH_get_ex_new_index(), DH_set_ex_data() and DH_get_ex_data() are
34 available since OpenSSL 0.9.5.
35
36 =cut