---
name: "sc_format_asn1_entry"
section: "3"
platform: "linux"
package: "libopensc2-dev"
version: "0.11.13-1.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_format_asn1_entry"
---

# sc\_format\_asn1\_entry(3)

Fill in an ASN.1 entry structure

## NAME

sc\_format\_asn1\_entry - Fill in an ASN.1 entry structure

## SYNOPSIS

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

## DESCRIPTION

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.
