Go to the source code of this file.
Typedefs | |
typedef struct _sim * | sim_t |
Functions | |
_public sim_t | sim_new (chipcard_t cc) |
_public int | sim_sms_save (sim_t sim, const char *fn) |
_public int | sim_sms_restore (sim_t sim, const char *fn) |
_public void | sim_free (sim_t sim) |
_public void sim_free | ( | sim_t | sim | ) |
Definition at line 347 of file sim.c.
References chipcard_slot_off(), _sim::s_cc, _sim::s_xfr, and xfr_free().
Referenced by found_cci().
_public sim_t sim_new | ( | chipcard_t | cc | ) |
Definition at line 308 of file sim.c.
References _sim_select(), CHIPCARD_AUTO_VOLTAGE, chipcard_slot_on(), hex_dump(), read_iccid(), read_imsi(), _sim::s_cc, _sim::s_xfr, SIM_MF, xfr_alloc(), and xfr_free().
Referenced by found_cci().
_public int sim_sms_restore | ( | sim_t | sim, | |
const char * | fn | |||
) |
Definition at line 288 of file sim.c.
References _sms_decode().
_public int sim_sms_save | ( | sim_t | sim, | |
const char * | fn | |||
) |
Definition at line 255 of file sim.c.
References _sim_read_record(), _sim_select(), ef_fci::e_reclen, ef_fci::e_size, _sim::s_ef_fci, SIM_DF_TELECOM, and SIM_EF_SMS.