BIO_find_type

Walk a BIO chain and return the first BIO whose method type matches bio_type.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_find_type(
    BIO* b,
    int bio_type);

Return Value

Matching BIO in the chain, or NULL if none matches.

Parameters

NameDescription
bStarting BIO in the chain (may be a filter or source/sink).
bio_typeBIO_TYPE_* mask or exact type to match.