Invoke a callback for every provider available in a library context.
Declared in <openssl/provider.h>
int
OSSL_PROVIDER_do_all(
OSSL_LIB_CTX* ctx,
int(* cb)(OSSL_PROVIDER*, void*),
void* cbdata);
1 if all callbacks succeeded, or 0 if a callback returned 0 or an error occurred.
| Name | Description |
|---|---|
| ctx | Library context to enumerate, or NULL for the default. |
| cb | Callback receiving each provider and cbdata; return 0 to stop early. |
| cbdata | Opaque argument passed to cb. |