[#COMP_get_type]
= COMP&lowbar;get&lowbar;type
:mrdocs:

Get the numeric type identifier of a compression method&period;

== Synopsis

Declared in `&lt;openssl&sol;comp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
COMP&lowbar;get&lowbar;type(xref:COMP_METHOD.adoc[COMP&lowbar;METHOD] const* meth);
----

== Return Value

Method type NID, or NID&lowbar;undef if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *meth*
| Compression method to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
