[#OSSL_CMP_SRV_genm_cb_t]
= OSSL&lowbar;CMP&lowbar;SRV&lowbar;genm&lowbar;cb&lowbar;t
:mrdocs:

Callback type for processing CMP General Message (genm) requests on the server&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* OSSL&lowbar;CMP&lowbar;SRV&lowbar;genm&lowbar;cb&lowbar;t)(xref:OSSL_CMP_SRV_CTX.adoc[OSSL&lowbar;CMP&lowbar;SRV&lowbar;CTX]*, xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG] const*, xref:stack_st_OSSL_CMP_ITAV.adoc[stack&lowbar;st&lowbar;OSSL&lowbar;CMP&lowbar;ITAV] const*, xref:stack_st_OSSL_CMP_ITAV.adoc[stack&lowbar;st&lowbar;OSSL&lowbar;CMP&lowbar;ITAV]**);
----

== Return Value

1 on success, 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srv&lowbar;ctx*
| CMP server context&period;
| *req*
| Incoming genm request message&period;
| *in*
| ITAVs from the request body&period;
| *out*
| Address of a stack pointer to receive response ITAVs allocated by the callback&period;
|===


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