[#BIO_meth_set_create]
= BIO&lowbar;meth&lowbar;set&lowbar;create
:mrdocs:

Install the create callback invoked when a BIO of this method is allocated&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;create(
    xref:BIO_METHOD.adoc[BIO&lowbar;METHOD]* biom,
    int(* create)(xref:BIO.adoc[BIO]*));
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *biom*
| Method being configured&period;
| *create*
| Callback that initializes method&hyphen;specific state for a BIO&semi; may be NULL&period;
|===


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