BIO_get_ex_new_index.3ssl - Man Page
application-specific data
Synopsis
#include <openssl/x509.h> int TYPE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int TYPE_set_ex_data(TYPE *d, int idx, void *arg); void *TYPE_get_ex_data(TYPE *d, int idx);
Description
In the description here, TYPE is used a placeholder for any of the OpenSSL datatypes listed in CRYPTO_get_ex_new_index(3).
These functions handle application-specific data for OpenSSL data structures.
TYPE_get_ex_new_index() is a macro that calls CRYPTO_get_ex_new_index() with the correct index value.
TYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with an offset into the opaque exdata part of the TYPE object.
TYPE_get_ex_data() is a function that calls CRYPTO_get_ex_data() with an offset into the opaque exdata part of the TYPE object.
Return Values
TYPE_get_ex_new_index() returns a new index on success or -1 on error.
TYPE_set_ex_data() returns 1 on success or 0 on error.
TYPE_get_ex_data() returns the application data or NULL if an error occurred.
See Also
Copyright
Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (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>.
Referenced By
The man pages BIO_get_ex_data.3ssl(3), BIO_set_ex_data.3ssl(3), DH_get_ex_data.3ssl(3), DH_get_ex_new_index.3ssl(3), DH_set_ex_data.3ssl(3), DSA_get_ex_data.3ssl(3), DSA_get_ex_new_index.3ssl(3), DSA_set_ex_data.3ssl(3), ECDH_get_ex_data.3ssl(3), ECDH_get_ex_new_index.3ssl(3), ECDH_set_ex_data.3ssl(3), EC_KEY_get_ex_data.3ssl(3), EC_KEY_get_ex_new_index.3ssl(3), EC_KEY_set_ex_data.3ssl(3), ENGINE_get_ex_data.3ssl(3), ENGINE_get_ex_new_index.3ssl(3), ENGINE_set_ex_data.3ssl(3), RSA_get_ex_data.3ssl(3), RSA_get_ex_new_index.3ssl(3), RSA_set_ex_data.3ssl(3), UI_get_ex_data.3ssl(3), UI_get_ex_new_index.3ssl(3), UI_set_ex_data.3ssl(3), X509_get_ex_data.3ssl(3), X509_get_ex_new_index.3ssl(3), X509_set_ex_data.3ssl(3), X509_STORE_CTX_get_ex_data.3ssl(3), X509_STORE_CTX_get_ex_new_index.3ssl(3), X509_STORE_CTX_set_ex_data.3ssl(3), X509_STORE_get_ex_data.3ssl(3), X509_STORE_get_ex_new_index.3ssl(3) and X509_STORE_set_ex_data.3ssl(3) are aliases of BIO_get_ex_new_index.3ssl(3).