Initialize Tizen 2.3
[external/libtasn1.git] / doc / man / asn1_create_element.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "asn1_create_element" 3 "2.7" "libtasn1" "libtasn1"
3 .SH NAME
4 asn1_create_element \- API function
5 .SH SYNOPSIS
6 .B #include <libtasn1.h>
7 .sp
8 .BI "asn1_retCode asn1_create_element(ASN1_TYPE " definitions ", const char * " source_name ", ASN1_TYPE * " element ");"
9 .SH ARGUMENTS
10 .IP "ASN1_TYPE definitions" 12
11 pointer to the structure returned by "parser_asn1" function
12 .IP "const char * source_name" 12
13 the name of the type of the new structure (must be
14 inside p_structure).
15 .IP "ASN1_TYPE * element" 12
16 pointer to the structure created.
17 .SH "DESCRIPTION"
18 Creates a structure of type \fIsource_name\fP.  Example using
19 "pkix.asn":
20
21 rc = asn1_create_element(cert_def, "PKIX1.Certificate", certptr);
22 .SH "RETURNS"
23 .SH COPYRIGHT
24 Copyright \(co 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc..
25 .br
26 Copying and distribution of this file, with or without modification,
27 are permitted in any medium without royalty provided the copyright
28 notice and this notice are preserved.
29 .SH "SEE ALSO"
30 The full documentation for
31 .B libtasn1
32 is maintained as a Texinfo manual.  If the
33 .B info
34 and
35 .B libtasn1
36 programs are properly installed at your site, the command
37 .IP
38 .B info libtasn1
39 .PP
40 should give you access to the complete manual.