[#ASN1_str2mask]
= ASN1&lowbar;str2mask
:mrdocs:

Parse a pipe&hyphen;separated list of ASN1&lowbar;STRFLGS&lowbar;&ast; flag names into a mask&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;str2mask(
    char const* str,
    unsigned long* pmask);
----

== Return Value

1 on success, or 0 if `str` contains an unknown name&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| Flag names such as &quot;utf8&verbar;esc&lowbar;ctrl&quot; (case&hyphen;insensitive)&period;
| *pmask*
| Receives the combined flag mask on success&period;
|===


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