1SC_UPDATE_DIR(3) OpenSC API reference SC_UPDATE_DIR(3)
2
3
4
6 sc_update_dir - Update application directory on a card
7
9 #include <opensc.h>
10
11 int sc_update_dir(sc_card_t *card, sc_app_info_t *app);
12
13
14
16 This function updates the application directory on card. If the card
17 has a record-structured directory file, app may contain the application
18 to update. Otherwise, the entire directory file is updated.
19
20 Before calling this function, you MUST call sc_enum_apps() first.
21
23 Returns 0 if successful, or a negative value in case of error.
24
25
26
27opensc 02/16/2010 SC_UPDATE_DIR(3)