[#GENERAL_NAME_get0_value]
= GENERAL&lowbar;NAME&lowbar;get0&lowbar;value
:mrdocs:

Return the typed payload pointer stored in a GeneralName&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
GENERAL&lowbar;NAME&lowbar;get0&lowbar;value(
    xref:GENERAL_NAME.adoc[GENERAL&lowbar;NAME] const* a,
    int* ptype);
----

== Return Value

Internal value pointer for the current type (do not free), or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| GeneralName to query&period;
| *ptype*
| Optional out&hyphen;parameter receiving the name form (GEN&lowbar;&ast;), or NULL to skip&period;
|===


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