[#OSSL_CMP_SRV_pollReq_cb_t]
= OSSL&lowbar;CMP&lowbar;SRV&lowbar;pollReq&lowbar;cb&lowbar;t
:mrdocs:

Server callback type for processing pollReq messages&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;pollReq&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*, int, xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG]**, int64&lowbar;t*);
----

== Return Value

1 on success, 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srv&lowbar;ctx*
| CMP server context&period;
| *req*
| Incoming pollReq message&period;
| *certReqId*
| Certificate request ID being polled&period;
| *certReq*
| Receives a pending certRep message when ready, or NULL&period;
| *check&lowbar;after*
| Receives suggested poll interval in seconds when not ready&period;
|===


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