OpenSC API Referencesc_enum_apps3openscsc_enum_appsEnumerate the applications on a cardSynopsis
#include <opensc.h>
int sc_enum_apps(struct sc_card *card);
Description
This function enumerates the applications on card, and
stores them in the structure. The list of applications can then later be
searched with sc_find_app_by_aid() or
sc_find_pkcs15_app().
Return value
Returns the number of applications on the card, or a negative value in case
of error.