1asn1_parser2tree(3)                libtasn1                asn1_parser2tree(3)
2
3
4

NAME

6       asn1_parser2tree - function used to start the parse algorithm.
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       asn1_retCode asn1_parser2tree(const char * file_name, ASN1_TYPE * defi‐
12       nitions, char * errorDescription);
13

ARGUMENTS

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

DESCRIPTION

27       Creates the structures needed to manage  the  definitions  included  in
28       *FILE_NAME file.
29

RETURNS

ASN1_SUCCESS

32       The file has a correct syntax and every identifier is known.
33

ASN1_ELEMENT_NOT_EMPTY

35       *POINTER not ASN1_TYPE_EMPTY.
36

ASN1_FILE_NOT_FOUND

38       An error occured while opening FILE_NAME.
39

ASN1_SYNTAX_ERROR

41       The syntax is not correct.
42

ASN1_IDENTIFIER_NOT_FOUND

44       In the file there is an identifier that is not defined.
45

ASN1_NAME_TOO_LONG

47       In  the  file there is an identifier whith more than ASN1_MAX_NAME_SIZE
48       characters.
49
51       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
52       Copying and distribution of this file, with  or  without  modification,
53       are  permitted  in  any  medium  without royalty provided the copyright
54       notice and this notice are preserved.
55

SEE ALSO

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