diff options
author | Jussi Kangas <jussi.kangas@tieto.com> | 2011-02-08 14:48:18 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-08 10:19:52 -0600 |
commit | a8671fe1f75ad5bc2a48f3674a227baf8e6d3f1d (patch) | |
tree | 3e56bc4a6630d9e1883d3655e536d356f7808f5f /src/ofono.h | |
parent | d8eacb663652e25f02dd8562de9e6c0122a14c06 (diff) | |
download | ofono-a8671fe1f75ad5bc2a48f3674a227baf8e6d3f1d.tar.bz2 |
sim: Allow usage of SIM codes longer than 8 digits
Some PIN codes (e.g. subsidy locks, etc) can have PIN codes much longer
than the default 8 digits.
Diffstat (limited to 'src/ofono.h')
-rw-r--r-- | src/ofono.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ofono.h b/src/ofono.h index 6ba0187e..4f0b7c29 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -299,6 +299,11 @@ ofono_bool_t __ofono_sim_service_available(struct ofono_sim *sim, int ust_service, int sst_service); +ofono_bool_t __ofono_is_valid_sim_pin(const char *pin, + enum ofono_sim_password_type type); + +ofono_bool_t __ofono_is_valid_net_pin(const char *pin); + #include <ofono/stk.h> typedef void (*__ofono_sms_sim_download_cb_t)(ofono_bool_t ok, |