COMP_get_type

Get the numeric type identifier of a compression method.

Synopsis

Declared in <openssl/comp.h>

int
COMP_get_type(COMP_METHOD const* meth);

Return Value

Method type NID, or NID_undef if unavailable.

Parameters

NameDescription
methCompression method to query.