1asn1_parser2tree(3) libtasn1 asn1_parser2tree(3)
2
3
4
6 asn1_parser2tree - function used to start the parse algorithm.
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_parser2tree(const char * file_name, ASN1_TYPE * defi‐
12 nitions, char * errorDescription);
13
15 const char * file_name
16 specify the path and the name of file that contains ASN.1
17 declarations.
18
19 ASN1_TYPE * definitions
20 return the pointer to the structure created from
21 "file_name" ASN.1 declarations.
22
23 char * errorDescription
24 return the error description or an empty string if success.
25
27 Creates the structures needed to manage the definitions included in
28 *FILE_NAME file.
29
32 The file has a correct syntax and every identifier is known.
33
35 *POINTER not ASN1_TYPE_EMPTY.
36
38 An error occured while opening FILE_NAME.
39
41 The syntax is not correct.
42
44 In the file there is an identifier that is not defined.
45
47 In the file there is an identifier whith more than MAX_NAME_SIZE char‐
48 acters.
49
51 Copyright © 2006 Free Software Foundation, Inc..
52 Permission is granted to make and distribute verbatim copies of this
53 manual provided the copyright notice and this permission notice are
54 preserved on all copies.
55
57 The full documentation for libtasn1 is maintained as a Texinfo manual.
58 If the info and libtasn1 programs are properly installed at your site,
59 the command
60
61 info libtasn1
62
63 should give you access to the complete manual.
64
65
66
67libtasn1 0.3.9 asn1_parser2tree(3)