37 lines
1.1 KiB
XML
37 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<refentry id="sccopyasn1entry">
|
|
<refentryinfo><title>OpenSC API Reference</title></refentryinfo>
|
|
<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 <opensc.h>
|
|
|
|
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 <link linkend="scasn1entry"><structname>struct
|
|
sc_asn1_entry</structname></link> 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>
|