Add app_exists() to check if an AID is loaded.

This commit is contained in:
Pol Henarejos
2025-05-25 19:07:20 +02:00
parent 11d8a5343c
commit eb75ad4efa
2 changed files with 16 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ typedef struct app {
int (*unload)();
} app_t;
extern bool app_exists(const uint8_t *aid, size_t aid_len);
extern int register_app(int (*)(app_t *, uint8_t), const uint8_t *);
extern int select_app(const uint8_t *aid, size_t aid_len);