[#BIO_meth_set_callback_ctrl]
= BIO&lowbar;meth&lowbar;set&lowbar;callback&lowbar;ctrl
:mrdocs:

Install the callback&hyphen;ctrl function on a custom BIO&lowbar;METHOD&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;meth&lowbar;set&lowbar;callback&lowbar;ctrl(
    xref:BIO_METHOD.adoc[BIO&lowbar;METHOD]* biom,
    long(* callback&lowbar;ctrl)(xref:BIO.adoc[BIO]*, int, xref:BIO_info_cb-08.adoc[BIO&lowbar;info&lowbar;cb]*));
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *biom*
| Method object to update&period;
| *callback&lowbar;ctrl*
| Function invoked for BIO&lowbar;callback&lowbar;ctrl()&hyphen;style commands&period;
|===


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