1asn1_array2tree(3) libtasn1 asn1_array2tree(3)
2
3
4
6 asn1_array2tree - API function
7
9 #include <libtasn1.h>
10
11 int asn1_array2tree(const asn1_static_node * array, asn1_node * defini‐
12 tions, char * errorDescription);
13
15 const asn1_static_node * array
16 specify the array that contains ASN.1 declarations
17
18 asn1_node * definitions
19 return the pointer to the structure created by *ARRAY ASN.1
20 declarations
21
22 char * errorDescription
23 return the error description.
24
26 Creates the structures needed to manage the ASN.1 definitions.
27 array is a vector created by asn1_parser2array().
28
30 ASN1_SUCCESS if structure was created correctly, ASN1_ELEMENT_NOT_EMPTY
31 if * definitions not NULL, ASN1_IDENTIFIER_NOT_FOUND if in the file
32 there is an identifier that is not defined (see errorDescription for
33 more information), ASN1_ARRAY_ERROR if the array pointed by array is
34 wrong.
35
37 Copyright © 2006-2015 Free Software Foundation, Inc..
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
41
43 The full documentation for libtasn1 is maintained as a Texinfo manual.
44 If the info and libtasn1 programs are properly installed at your site,
45 the command
46
47 info libtasn1
48
49 should give you access to the complete manual. As an alternative you
50 may obtain the manual from:
51
52 http://www.gnu.org/software/libtasn1/manual/
53
54libtasn1 4.16.0 asn1_array2tree(3)