[#DH_get0_pqg]
= DH&lowbar;get0&lowbar;pqg
:mrdocs:

Borrow pointers to the prime, optional subprime, and generator of a DH object (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
DH&lowbar;get0&lowbar;pqg(
    xref:DH.adoc[DH] const* dh,
    xref:BIGNUM.adoc[BIGNUM] const** p,
    xref:BIGNUM.adoc[BIGNUM] const** q,
    xref:BIGNUM.adoc[BIGNUM] const** g);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *dh*
| DH object to query&period;
| *p*
| Receives an internal pointer to p, or NULL to skip&semi; do not free&period;
| *q*
| Receives an internal pointer to q when present, or NULL to skip&semi; do not free&period;
| *g*
| Receives an internal pointer to g, or NULL to skip&semi; do not free&period;
|===


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