ASN1_BIT_STRING_num_asc

Look up the bit number for a named bit in a BIT_STRING_BITNAME table.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_BIT_STRING_num_asc(
    char const* name,
    BIT_STRING_BITNAME* tbl);

Return Value

Matching bit number, or -1 if name is not found.

Parameters

NameDescription
nameShort or long bit name to match.
tblNULL-terminated table of named bits (ends when lname is NULL).