BIO_method_type

Return the BIO type code of the method used by b (BIO_TYPE_*).

Synopsis

Declared in <openssl/bio.h>

int
BIO_method_type(BIO const* b);

Return Value

Type identifier such as BIO_TYPE_MEM or BIO_TYPE_SOCKET.

Parameters

NameDescription
bBIO whose method type is queried.