[#CMS_set_detached]
= CMS&lowbar;set&lowbar;detached
:mrdocs:

Mark CMS content as detached (external) or embedded&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;set&lowbar;detached(
    xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms,
    int detached);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo whose eContent embedding is updated&period;
| *detached*
| Nonzero for detached content&semi; zero to keep content inside SignedData&period;
|===


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