[#CTLOG_get0_log_id]
= CTLOG&lowbar;get0&lowbar;log&lowbar;id
:mrdocs:

Get the ID of a CT log&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CTLOG&lowbar;get0&lowbar;log&lowbar;id(
    xref:CTLOG.adoc[CTLOG] const* log,
    uint8&lowbar;t const** log&lowbar;id,
    size&lowbar;t* log&lowbar;id&lowbar;len);
----

== Return Value

the ID of a CT log&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *log*
| CT log to query&period;
| *log&lowbar;id*
| Receives a pointer to the log ID&semi; ownership remains with the log&period;
| *log&lowbar;id&lowbar;len*
| Receives the length of the log ID in bytes&period;
|===


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