mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
e6390acac9
Add CRYPTO_free_ex_index (for shared libraries) Unify and complete the documentation for all "ex_data" API's and objects. Replace xxx_get_ex_new_index functions with a macro. Added an exdata test. Renamed the ex_data internal datatypes. Reviewed-by: Matt Caswell <matt@openssl.org>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data,
|
|
ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data,
|
|
UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data,
|
|
X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data,
|
|
X509_STORE_get_ex_new_index, X509_STORE_set_ex_data, X509_STORE_get_ex_data,
|
|
X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data,
|
|
DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data,
|
|
DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data,
|
|
ECDH_get_ex_new_index, ECDH_set_ex_data, ECDH_get_ex_data,
|
|
ECDSA_get_ex_new_index, ECDSA_set_ex_data, ECDSA_get_ex_data,
|
|
RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data
|
|
- application-specific data
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
The synopsis below is for the X509 structure, but is the same for all
|
|
crypto structures:
|
|
|
|
#include <openssl/x509.h>
|
|
|
|
int X509_get_ex_new_index(long argl, void *argp,
|
|
CRYPTO_EX_new *new_func,
|
|
CRYPTO_EX_dup *dup_func,
|
|
CRYPTO_EX_free *free_func);
|
|
|
|
int X509_set_ex_data(X509 *d, int idx, void *arg);
|
|
|
|
void *X509_get_ex_data(X509 *d, int idx);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
These functions handle application-specific data for OpenSSL crypto
|
|
structures.
|
|
|
|
For details, see L<CRYPTO_get_ex_new_index(3)>.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<CRYPTO_get_ex_new_index(3)>.
|
|
|
|
=cut
|