summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-13 02:55:54 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-13 02:55:54 +0000
commite4fa3bc9cd52873af5cd1b3382b065778c7ebc3e (patch)
treeb59109f7d66e19e4b957633e1a5c380d669ce8d3 /include
parent30c802206150291d388c14d9588faf32804d4b18 (diff)
gsmd: move PIN name to both gsmd and libgsmd (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3647 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/event.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/include/gsmd/event.h b/include/gsmd/event.h
index d10c26e..90e4dc7 100644
--- a/include/gsmd/event.h
+++ b/include/gsmd/event.h
@@ -24,7 +24,7 @@ enum gsmd_events {
/* Chapter 8.3 */
enum gsmd_pin_type { /* waiting for ... */
- GSMD_PIN_NONE = 0, /* not for any PIN */
+ GSMD_PIN_READY = 0, /* not pending for any password */
GSMD_PIN_SIM_PIN = 1, /* SIM PIN */
GSMD_PIN_SIM_PUK = 2, /* SIM PUK */
GSMD_PIN_PH_SIM_PIN = 3, /* phone-to-SIM passowrd */
@@ -43,25 +43,6 @@ enum gsmd_pin_type { /* waiting for ... */
__NUM_GSMD_PIN
};
-static const char *pin_type_names[__NUM_GSMD_PIN] = {
- [GSMD_PIN_NONE] = "NONE",
- [GSMD_PIN_SIM_PIN] = "SIM PIN",
- [GSMD_PIN_SIM_PUK] = "SIM PUK",
- [GSMD_PIN_PH_SIM_PIN] = "Phone-to-SIM PIN",
- [GSMD_PIN_PH_FSIM_PIN] = "Phone-to-very-first SIM PIN",
- [GSMD_PIN_PH_FSIM_PUK] = "Phone-to-very-first SIM PUK",
- [GSMD_PIN_SIM_PIN2] = "SIM PIN2",
- [GSMD_PIN_SIM_PUK2] = "SIM PUK2",
- [GSMD_PIN_PH_NET_PIN] = "Network personalization PIN",
- [GSMD_PIN_PH_NET_PUK] = "Network personalizaiton PUK",
- [GSMD_PIN_PH_NETSUB_PIN]= "Network subset personalisation PIN",
- [GSMD_PIN_PH_NETSUB_PUK]= "Network subset personalisation PUK",
- [GSMD_PIN_PH_SP_PIN] = "Service provider personalisation PIN",
- [GSMD_PIN_PH_SP_PUK] = "Service provider personalisation PUK",
- [GSMD_PIN_PH_CORP_PIN] = "Corporate personalisation PIN",
- [GSMD_PIN_PH_CORP_PUK] = "Corporate personalisation PUK",
-};
-
enum gsmd_call_type {
GSMD_CALL_NONE = 0,
GSMD_CALL_UNSPEC = 1,
personal git repositories of Harald Welte. Your mileage may vary