asn1_dup_node(3) API function

SYNOPSIS

#include <libtasn1.h>

asn1_node asn1_dup_node(asn1_node src, const char * src_name);

ARGUMENTS

asn1_node src
Source asn1 node.
const char * src_name
Field name in source node.

DESCRIPTION

Create a deep copy of a asn1_node variable. This function will return an exact copy of the provided structure.

RETURNS

Return NULL on failure.

COPYRIGHT

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.