BIO_meth_set_create

Install the create callback invoked when a BIO of this method is allocated.

Synopsis

Declared in <openssl/bio.h>

int
BIO_meth_set_create(
    BIO_METHOD* biom,
    int(* create)(BIO*));

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
biomMethod being configured.
createCallback that initializes method-specific state for a BIO; may be NULL.