opensc/doc/src/api/asn1/sc_copy_asn1_entry.xml

35 lines
990 B
XML
Raw Normal View History

<refentry id="sccopyasn1entry">
<refmeta>
<refentrytitle>sc_copy_asn1_entry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>opensc</refmiscinfo>
</refmeta>
<refnamediv>
<refname>sc_copy_asn1_entry</refname>
<refpurpose>Copy an ASN.1 entry</refpurpose>
</refnamediv>
<refsect1>
<title>Synopsis</title>
<para>
<programlisting>
#include &lt;opensc.h&gt;
void sc_copy_asn1_entry(const struct sc_asn1_entry *src, struct sc_asn1_entry *dest);
</programlisting>
</para>
</refsect1>
<refsect1>
<title>Description</title>
<para>
This function copies an array of <structname><link linkend="scasn1">struct
sc_asn1_entry</link></structname> entries pointed to be <emphasis>src</emphasis> to
<emphasis>dest</emphasis>. The array must be NULL-terminated (that is, the last entry must have
its <structfield>name</structfield> field set to NULL). There must be enough space available in
<emphasis>dest</emphasis>.
</para>
</refsect1>
</refentry>