mirror of git://git.sysmocom.de/ofono
include: add method to query pin Retries
This commit is contained in:
parent
4c2920d8a5
commit
2ae5b82ad9
|
@ -108,6 +108,9 @@ typedef void (*ofono_sim_passwd_cb_t)(const struct ofono_error *error,
|
|||
enum ofono_sim_password_type type,
|
||||
void *data);
|
||||
|
||||
typedef void (*ofono_sim_pin_retries_cb_t)(const struct ofono_error *error,
|
||||
int retries[OFONO_SIM_PASSWORD_INVALID], void *data);
|
||||
|
||||
typedef void (*ofono_sim_lock_unlock_cb_t)(const struct ofono_error *error,
|
||||
void *data);
|
||||
|
||||
|
@ -144,6 +147,8 @@ struct ofono_sim_driver {
|
|||
ofono_sim_passwd_cb_t cb, void *data);
|
||||
void (*send_passwd)(struct ofono_sim *sim, const char *passwd,
|
||||
ofono_sim_lock_unlock_cb_t cb, void *data);
|
||||
void (*query_pin_retries)(struct ofono_sim *sim,
|
||||
ofono_sim_pin_retries_cb_t cb, void *data);
|
||||
void (*reset_passwd)(struct ofono_sim *sim, const char *puk,
|
||||
const char *passwd,
|
||||
ofono_sim_lock_unlock_cb_t cb, void *data);
|
||||
|
|
Loading…
Reference in New Issue