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

Name

Description

b

Starting BIO in the chain (may be a filter or source/sink).

bio_type

BIO_TYPE_* mask or exact type to match.

Created with MrDocs