asn1_parser2tree − API function


#include <libtasn1.h>

int asn1_parser2tree(const char * file, asn1_node * definitions, char * error_desc);


const char * file

specify the path and the name of file that contains ASN.1 declarations.

asn1_node * definitions

return the pointer to the structure created from "file" ASN.1 declarations.

char * error_desc

return the error description or an empty string if success.


Function used to start the parse algorithm. Creates the structures needed to manage the definitions included in file file.


ASN1_SUCCESS if the file has a correct syntax and every identifier is known, ASN1_ELEMENT_NOT_EMPTY if definitions not NULL, ASN1_FILE_NOT_FOUND if an error occured while opening file , ASN1_SYNTAX_ERROR if the syntax is not correct, ASN1_IDENTIFIER_NOT_FOUND if in the file there is an identifier that is not defined, ASN1_NAME_TOO_LONG if in the file there is an identifier whith more than ASN1_MAX_NAME_SIZE characters.


Copyright © 2006-2013 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.


The full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your site, the command

info libtasn1

should give you access to the complete manual. As an alternative you may obtain the manual from:

More Linux Commands

mvinsstr(3ncurses) - insert string before cursor in a curses
These routines insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the

manpages/ gets CDDB info of a CD - Linux manual page.......
The script can be used to get CDDB info of a CD. It can handle several ouput formats. OPTIONS no argument gets CDDB info of CD in your drive -c device (

cdda2ogg(1) - extract audio CD audio tracks and encode them
cdda2ogg is a simple script that uses the icedax &lt;fileprefix&gt; command to extract all audio tracks with the icedax &lt;fileprefix&gt; command and encode them using the

perlqnx(1) - Perl version 5 on QNX - Linux manual page......
As of perl5.7.2 all tests pass under: QNX 4.24G Watcom 10.6 with Beta/970211.wcc.update.tar.F socket3r.lib Nov21 1996. As of perl5.8.1 there is at least one tes

sm(1) - Command-line interface to the INN storage manager...
The INN storage manager is the subsystem that stores and keeps track of all of the articles and what storage backend theyre in. All stored articles are assigned

TAP::Parser::Source(3pm) - a TAP source & meta data about it
A TAP source is something that produces a stream of TAP for the parser to consume, such as an executable file, a text file, an archive, an IO handle, a database

DMXAddScreen(3) - attach a new back-end screen (Man Page)...
DMXAddScreen() attaches a back-end screen to the Xdmx(1) server, in place of the previously detached back-end server specified by screen. displayName is the nam

glutCreateSubWindow(3) - creates a subwindow. (Man Page)....
glutCreateSubWindow creates a subwindow of the window identified by win of size width and height at location x and y within the current window. Implicitly, the

set_menu_items(3menu) - make and break connections between i
The function set_menu_items changes the item pointer array of the given menu. The array must be terminated by a NULL. The function menu_items returns the item a

vfs_syncops(8) Ensure meta data operations are performed syn
This VFS module is part of the samba(7) suite. Some filesystems (even some journaled filesystems) require that a fsync() be performed on many meta data operatio

auparse_next_record(3) - move record cursor - Linux man page
auparse_next_record will move the internal library cursors to point to the next record of the current event. You should not call this function from a feed inter

sfdisk(8) - partition table manipulator for Linux (ManPage)
sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition

We can't live, work or learn in freedom unless the software we use is free.