[#COMP_CTX_new]
= COMP&lowbar;CTX&lowbar;new
:mrdocs:

Create a compression context for the given method&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:COMP_CTX.adoc[COMP&lowbar;CTX]*
COMP&lowbar;CTX&lowbar;new(xref:COMP_METHOD.adoc[COMP&lowbar;METHOD]* meth);
----

== Return Value

New context, or NULL on error&period;

== Parameters

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


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