[#BIO_asn1_get_suffix]
= BIO&lowbar;asn1&lowbar;get&lowbar;suffix
:mrdocs:

Retrieve the ASN&period;1 suffix producer and optional free callback from a BIO&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;asn1&lowbar;get&lowbar;suffix(
    xref:BIO.adoc[BIO]* b,
    xref:asn1_ps_func.adoc[asn1&lowbar;ps&lowbar;func]** psuffix,
    xref:asn1_ps_func.adoc[asn1&lowbar;ps&lowbar;func]** psuffix&lowbar;free);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| ASN&period;1 filter BIO (BIO&lowbar;f&lowbar;asn1)&period;
| *psuffix*
| Receives the suffix producer, or NULL if unset&period;
| *psuffix&lowbar;free*
| Receives the matching free callback, or NULL if unset&period;
|===


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