1asn1_number_of_elements(3) libtasn1 asn1_number_of_elements(3)
2
3
4
6 asn1_number_of_elements - Counts the number of elements of a structure.
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_number_of_elements(ASN1_TYPE element, const char *
12 name, int * num);
13
15 ASN1_TYPE element
16 pointer to the root of an ASN1 structure.
17
18 const char * name
19 the name of a sub-structure of ROOT.
20
21 int * num pointer to an integer where the result will be stored
22
24 Counts the number of elements of a sub-structure called NAME with names
25 equal to "?1","?2", ...
26
29 Creation OK.
30
32 NAME isn't known.
33
35 Pointer num equal to NULL.
36
38 Copyright © 2006 Free Software Foundation, Inc..
39 Permission is granted to make and distribute verbatim copies of this
40 manual provided the copyright notice and this permission notice are
41 preserved on all copies.
42
44 The full documentation for libtasn1 is maintained as a Texinfo manual.
45 If the info and libtasn1 programs are properly installed at your site,
46 the command
47
48 info libtasn1
49
50 should give you access to the complete manual.
51
52
53
54libtasn1 0.3.9 asn1_number_of_elements(3)