sc_format_asn1_entry(3) Fill in an ASN.1 entry structure


#include <opensc.h>
void sc_format_asn1_entry(struct sc_asn1_entry *entry, void *parm, void *arg, int set_present);


This function stores the parm and arg pointers in the struct sc_asn1_entry entry. No checking is done. Since the pointers are copied directly, the storage they point to must not be freed by the calling application until the entry itself is destroyed.