Callback that duplicates one ex_data slot when an object is copied.
Synopsis
Declared in <openssl/crypto.h>
typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA*, CRYPTO_EX_DATA const*, void**, int, long, void*);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
to |
Destination ex‐data bag. |
from |
Source ex‐data bag. |
from_d |
Address of the source slot pointer; may be updated to the duplicated value. |
idx |
Ex‐data index being duplicated. |
argl |
Long argument registered with CRYPTO_get_ex_new_index(). |
argp |
Pointer argument registered with CRYPTO_get_ex_new_index(). |
Created with MrDocs