1asn1_number_of_elements(3) libtasn1 asn1_number_of_elements(3)
2
3
4
6 asn1_number_of_elements - API function
7
9 #include <libtasn1.h>
10
11 int asn1_number_of_elements(asn1_node element, const char * name, int *
12 num);
13
15 asn1_node 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
28 ASN1_SUCCESS if successful, ASN1_ELEMENT_NOT_FOUND if
29 name is not known, ASN1_GENERIC_ERROR if pointer num is NULL.
30
32 Copyright © 2006-2015 Free Software Foundation, Inc..
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright
35 notice and this notice are preserved.
36
38 The full documentation for libtasn1 is maintained as a Texinfo manual.
39 If the info and libtasn1 programs are properly installed at your site,
40 the command
41
42 info libtasn1
43
44 should give you access to the complete manual. As an alternative you
45 may obtain the manual from:
46
47 http://www.gnu.org/software/libtasn1/manual/
48
49libtasn1 4.8 asn1_number_of_elements(3)