1asn1_number_of_elements(3)         libtasn1         asn1_number_of_elements(3)
2
3
4

NAME

6       asn1_number_of_elements - Counts the number of elements of a structure.
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       asn1_retCode  asn1_number_of_elements(ASN1_TYPE  element,  const char *
12       name, int * num);
13

ARGUMENTS

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

DESCRIPTION

24       Counts the number of elements of a sub-structure called NAME with names
25       equal to "?1","?2", ...
26

RETURNS

ASN1_SUCCESS

29       Creation OK.
30

ASN1_ELEMENT_NOT_FOUND

32       NAME isn't known.
33

ASN1_GENERIC_ERROR

35       Pointer num equal to NULL.
36
38       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium  without  royalty  provided  the  copyright
41       notice and this notice are preserved.
42

SEE ALSO

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                              2.3           asn1_number_of_elements(3)
Impressum