1asn1_copy_node(3) libtasn1 asn1_copy_node(3)
2
3
4
6 asn1_copy_node - API function
7
9 #include <libtasn1.h>
10
11 int asn1_copy_node(asn1_node dst, const char * dst_name,
12 asn1_node_const src, const char * src_name);
13
15 asn1_node dst
16 Destination asn1 node.
17
18 const char * dst_name
19 Field name in destination node.
20
21 asn1_node_const src
22 Source asn1 node.
23
24 const char * src_name
25 Field name in source node.
26
28 Create a deep copy of a asn1_node variable. That function requires dst
29 to be expanded using asn1_create_element().
30
32 Return ASN1_SUCCESS on success.
33
35 Copyright © 2006-2022 Free Software Foundation, Inc..
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright no‐
38 tice and this notice are preserved.
39
41 The full documentation for libtasn1 is maintained as a Texinfo manual.
42 If the info and libtasn1 programs are properly installed at your site,
43 the command
44
45 info libtasn1
46
47 should give you access to the complete manual. As an alternative you
48 may obtain the manual from:
49
50 https://www.gnu.org/software/libtasn1/manual/
51
52libtasn1 4.19.0 asn1_copy_node(3)