[#OSSL_CRMF_MSG_set_PKIPublicationInfo_action]
= OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set&lowbar;PKIPublicationInfo&lowbar;action
:mrdocs:

Set the publication action in a PKIPublicationInfo&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CRMF&lowbar;MSG&lowbar;set&lowbar;PKIPublicationInfo&lowbar;action(
    xref:OSSL_CRMF_PKIPUBLICATIONINFO.adoc[OSSL&lowbar;CRMF&lowbar;PKIPUBLICATIONINFO]* pi,
    int action);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pi*
| PKIPublicationInfo to update&period;
| *action*
| Publication action (OSSL&lowbar;CRMF&lowbar;PUB&lowbar;ACTION&lowbar;&ast;)&semi; see RFC 4211 section 6&period;3&period;
|===


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