[#EC_KEY_METHOD_get_init]
= EC&lowbar;KEY&lowbar;METHOD&lowbar;get&lowbar;init
:mrdocs:

Retrieve init&sol;finish&sol;copy&sol;set&lowbar;&ast; callbacks from an EC&lowbar;KEY&lowbar;METHOD (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
EC&lowbar;KEY&lowbar;METHOD&lowbar;get&lowbar;init(
    xref:EC_KEY_METHOD.adoc[EC&lowbar;KEY&lowbar;METHOD] const* meth,
    int(** pinit)(xref:EC_KEY.adoc[EC&lowbar;KEY]*),
    void(** pfinish)(xref:EC_KEY.adoc[EC&lowbar;KEY]*),
    int(** pcopy)(xref:EC_KEY.adoc[EC&lowbar;KEY]*, xref:EC_KEY.adoc[EC&lowbar;KEY] const*),
    int(** pset&lowbar;group)(xref:EC_KEY.adoc[EC&lowbar;KEY]*, xref:EC_GROUP.adoc[EC&lowbar;GROUP] const*),
    int(** pset&lowbar;private)(xref:EC_KEY.adoc[EC&lowbar;KEY]*, xref:BIGNUM.adoc[BIGNUM] const*),
    int(** pset&lowbar;public)(xref:EC_KEY.adoc[EC&lowbar;KEY]*, xref:EC_POINT.adoc[EC&lowbar;POINT] const*));
----

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

[cols="1,4"]
|===
| Name| Description
| *meth*
| Method object to query&period;
| *pinit*
| Receives the init callback pointer, or NULL to skip&period;
| *pfinish*
| Receives the finish callback pointer, or NULL to skip&period;
| *pcopy*
| Receives the copy callback pointer, or NULL to skip&period;
| *pset&lowbar;group*
| Receives the set&lowbar;group callback pointer, or NULL to skip&period;
| *pset&lowbar;private*
| Receives the set&lowbar;private callback pointer, or NULL to skip&period;
| *pset&lowbar;public*
| Receives the set&lowbar;public callback pointer, or NULL to skip&period;
|===


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