OSSL_DECODER_from_fp

Run decoding from a FILE stream (same as OSSL_DECODER_from_bio() with a file BIO).

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_from_fp(
    OSSL_DECODER_CTX* ctx,
    FILE* in);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxConfigured decoder context.
inInput FILE stream.