diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-09-17 22:43:22 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-22 00:07:06 -0500 |
commit | ee02b14836d7e30b45ee6fd62da6a8135c94c9dd (patch) | |
tree | ebe561c1cb248e4a11643fdc09e61246520cda97 /include/types.h | |
parent | b1c8b291f5c8d1802b889756c01cc2f7f5288641 (diff) | |
download | ofono-ee02b14836d7e30b45ee6fd62da6a8135c94c9dd.tar.bz2 |
Do PIN authentication
This adds checking whether PIN is required during SIM initialisation and
delaying the sim ready notifications until after correct PIN is given.
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index 6a9681d0..82a3216a 100644 --- a/include/types.h +++ b/include/types.h @@ -91,6 +91,26 @@ struct ofono_call { int clip_validity; }; +enum ofono_passwd_type { + OFONO_PASSWD_NONE = 0, + + OFONO_PASSWD_SIM_PIN, + OFONO_PASSWD_SIM_PUK, + OFONO_PASSWD_PHSIM_PIN, + OFONO_PASSWD_PHFSIM_PIN, + OFONO_PASSWD_PHFSIM_PUK, + OFONO_PASSWD_SIM_PIN2, + OFONO_PASSWD_SIM_PUK2, + OFONO_PASSWD_PHNET_PIN, + OFONO_PASSWD_PHNET_PUK, + OFONO_PASSWD_PHNETSUB_PIN, + OFONO_PASSWD_PHNETSUB_PUK, + OFONO_PASSWD_PHSP_PIN, + OFONO_PASSWD_PHSP_PUK, + OFONO_PASSWD_PHCORP_PIN, + OFONO_PASSWD_PHCORP_PUK, +}; + #ifdef __cplusplus } #endif |