[#BIO_set_data]
= BIO&lowbar;set&lowbar;data
:mrdocs:

Store an implementation&hyphen;specific pointer on a BIO (used by custom BIO methods)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BIO&lowbar;set&lowbar;data(
    xref:BIO.adoc[BIO]* a,
    void* ptr);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| BIO whose app&hyphen;data pointer is set&period;
| *ptr*
| Opaque pointer for the BIO method implementation&period;
|===


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