1SSL_CTX_get_ex_new_index(3) OpenSSL SSL_CTX_get_ex_new_index(3)
2
3
4
6 SSL_CTX_get_ex_new_index, SSL_CTX_set_ex_data, SSL_CTX_get_ex_data -
7 internal application specific data functions
8
10 #include <openssl/ssl.h>
11
12 int SSL_CTX_get_ex_new_index(long argl, void *argp,
13 CRYPTO_EX_new *new_func,
14 CRYPTO_EX_dup *dup_func,
15 CRYPTO_EX_free *free_func);
16
17 int SSL_CTX_set_ex_data(SSL_CTX *ctx, int idx, void *arg);
18
19 void *SSL_CTX_get_ex_data(const SSL_CTX *ctx, int idx);
20
21 typedef int new_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
22 int idx, long argl, void *argp);
23 typedef void free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
24 int idx, long argl, void *argp);
25 typedef int dup_func(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d,
26 int idx, long argl, void *argp);
27
29 Several OpenSSL structures can have application specific data attached
30 to them. These functions are used internally by OpenSSL to manipulate
31 application specific data attached to a specific structure.
32
33 SSL_CTX_get_ex_new_index() is used to register a new index for
34 application specific data.
35
36 SSL_CTX_set_ex_data() is used to store application data at arg for idx
37 into the ctx object.
38
39 SSL_CTX_get_ex_data() is used to retrieve the information for idx from
40 ctx.
41
42 A detailed description for the *_get_ex_new_index() functionality can
43 be found in RSA_get_ex_new_index(3). The *_get_ex_data() and
44 *_set_ex_data() functionality is described in CRYPTO_set_ex_data(3).
45
47 ssl(3), RSA_get_ex_new_index(3), CRYPTO_set_ex_data(3)
48
49
50
511.0.0e 2005-03-30 SSL_CTX_get_ex_new_index(3)