1 @subheading asn1_parser2tree
2 @anchor{asn1_parser2tree}
3 @deftypefun {asn1_retCode} {asn1_parser2tree} (const char * @var{file_name}, ASN1_TYPE * @var{definitions}, char * @var{errorDescription})
4 @var{file_name}: specify the path and the name of file that contains
7 @var{definitions}: return the pointer to the structure created from
8 "file_name" ASN.1 declarations.
10 @var{errorDescription}: return the error description or an empty
13 Function used to start the parse algorithm. Creates the structures
14 needed to manage the definitions included in @code{file_name} file.
16 @strong{Returns:} @end deftypefun
18 @subheading asn1_parser2array
19 @anchor{asn1_parser2array}
20 @deftypefun {int} {asn1_parser2array} (const char * @var{inputFileName}, const char * @var{outputFileName}, const char * @var{vectorName}, char * @var{errorDescription})
21 @var{inputFileName}: specify the path and the name of file that
22 contains ASN.1 declarations.
24 @var{outputFileName}: specify the path and the name of file that will
25 contain the C vector definition.
27 @var{vectorName}: specify the name of the C vector.
29 @var{errorDescription}: return the error description or an empty
32 Function that generates a C structure from an ASN1 file. Creates a
33 file containing a C vector to use to manage the definitions
34 included in @code{inputFileName} file. If @code{inputFileName} is
35 "/aa/bb/xx.yy" and @code{outputFileName} is @code{NULL}, the file created is
36 "/aa/bb/xx_asn1_tab.c". If @code{vectorName} is @code{NULL} the vector name
37 will be "xx_asn1_tab".
39 @strong{Returns:} @end deftypefun