-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
Standard preamble:
========================================================================
..
.... \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.
If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================
Title "BIO_get_ex_new_index 3"
way too many mistakes in technical documents.
The following functions have been deprecated since OpenSSL 3.0, and can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros\|(7):
.Vb 10 int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DH_set_ex_data(DH *type, int idx, void *arg); void *DH_get_ex_data(DH *type, int idx); int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DSA_set_ex_data(DSA *type, int idx, void *arg); void *DSA_get_ex_data(DSA *type, int idx); int EC_KEY_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int EC_KEY_set_ex_data(EC_KEY *type, int idx, void *arg); void *EC_KEY_get_ex_data(EC_KEY *type, int idx); int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int RSA_set_ex_data(RSA *type, int idx, void *arg); void *RSA_get_ex_data(RSA *type, int idx); int RSA_set_app_data(RSA *type, void *arg); void *RSA_get_app_data(RSA *type); int ENGINE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int ENGINE_set_ex_data(ENGINE *type, int idx, void *arg); void *ENGINE_get_ex_data(ENGINE *type, int idx); .Ve
All functions with a TYPE of DH, DSA, RSA and EC_KEY are deprecated. Applications should instead use EVP_PKEY_set_ex_data(), \fBEVP_PKEY_get_ex_data() and EVP_PKEY_get_ex_new_index().
All functions with a TYPE of ENGINE are deprecated. Applications using engines should be replaced by providers.
These functions handle application-specific data for OpenSSL data structures.
\fBTYPE_get_ex_new_index() is a macro that calls CRYPTO_get_ex_new_index() with the correct index value.
\fBTYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with an offset into the opaque exdata part of the TYPE object.
\fBTYPE_get_ex_data() is a function that calls CRYPTO_get_ex_data() with an offset into the opaque exdata part of the TYPE object.
For compatibility with previous releases, the exdata index of zero is reserved for "application data." There are two convenience functions for this. \fBTYPE_set_app_data() is a macro that invokes TYPE_set_ex_data() with \fBidx set to zero. \fBTYPE_get_app_data() is a macro that invokes TYPE_get_ex_data() with \fBidx set to zero.
\fBTYPE_set_ex_data() returns 1 on success or 0 on error.
\fBTYPE_get_ex_data() returns the application data or NULL if an error occurred.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.