Read a UTF‐8 pointer parameter without copying the string.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_get_utf8_ptr(
    OSSL_PARAM const* p,
    char const** val);

Return Value

1 on success, or 0 on type/error mismatch.

Parameters

Name

Description

p

Source parameter of type OSSL_PARAM_UTF8_PTR.

val

Receives the pointer stored in (borrowed; do not free).

Created with MrDocs