1
@deftypefun {asn1_retCode} {asn1_read_tag} (node_asn * @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
2
@var{root}: pointer to a structure
4
@var{name}: the name of the element inside a structure.
6
@var{tagValue}: variable that will contain the TAG value.
8
@var{classValue}: variable that will specify the TAG type.
10
Returns the TAG and the CLASS of one element inside a structure.
12
@strong{CLASS can have one of these constants:} @code{ASN1_CLASS_APPLICATION},
13
@code{ASN1_CLASS_UNIVERSAL}, @code{ASN1_CLASS_PRIVATE} or
14
@code{ASN1_CLASS_CONTEXT_SPECIFIC}.
17
@strong{ASN1_SUCCESS:} Set value OK.
19
@strong{ASN1_ELEMENT_NOT_FOUND:} NAME is not a valid element.