BIO_meth_set_read

Install the legacy read callback on a BIO_METHOD.

Synopsis

Declared in <openssl/bio.h>

int
BIO_meth_set_read(
    BIO_METHOD* biom,
    int(* read)(BIO*, char*, int));

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
biomMethod table to update.
readCallback implementing BIO_read()-style input.