[#SSL_COMP_set0_compression_methods]
= SSL&lowbar;COMP&lowbar;set0&lowbar;compression&lowbar;methods
:mrdocs:

Replace the global stack of SSL&sol;TLS compression methods, transferring ownership of `meths&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
stack&lowbar;st&lowbar;SSL&lowbar;COMP*
SSL&lowbar;COMP&lowbar;set0&lowbar;compression&lowbar;methods(stack&lowbar;st&lowbar;SSL&lowbar;COMP* meths);
----

== Return Value

Previous compression&hyphen;method stack (caller may free), or NULL if none was set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *meths*
| New STACK&lowbar;OF(SSL&lowbar;COMP) to install, or NULL to clear&period;
|===


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