diff options
author | Torgny Johansson <torgny.johansson@ericsson.com> | 2010-06-22 14:05:09 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-06-22 14:05:09 -0700 |
commit | f179a56908f62f59f5e1419d562e5b9219cfbe7d (patch) | |
tree | 50490c6311f45383231d5194c17140ef279ba9e4 /src/mm-modem.h | |
parent | adfe264b67ba28effd3fb8378cbcbe2081f6ed49 (diff) |
gsm: add UnlockRetries property
Which reports the # of attempts remaining for the current PIN required
by the device or SIM.
Some modifications/cleanups by dcbw.
Diffstat (limited to 'src/mm-modem.h')
-rw-r--r-- | src/mm-modem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-modem.h b/src/mm-modem.h index 6eeb4dea..d2863e4a 100644 --- a/src/mm-modem.h +++ b/src/mm-modem.h @@ -59,6 +59,7 @@ typedef enum { #define MM_MODEM_IP_METHOD "ip-method" #define MM_MODEM_ENABLED "enabled" #define MM_MODEM_UNLOCK_REQUIRED "unlock-required" +#define MM_MODEM_UNLOCK_RETRIES "unlock-retries" #define MM_MODEM_VALID "valid" /* not exported */ #define MM_MODEM_PLUGIN "plugin" /* not exported */ #define MM_MODEM_STATE "state" /* not exported */ @@ -83,7 +84,8 @@ typedef enum { MM_MODEM_PROP_PLUGIN, /* Not exported */ MM_MODEM_PROP_STATE, /* Not exported */ MM_MODEM_PROP_ENABLED, - MM_MODEM_PROP_UNLOCK_REQUIRED + MM_MODEM_PROP_UNLOCK_REQUIRED, + MM_MODEM_PROP_UNLOCK_RETRIES } MMModemProp; typedef struct _MMModem MMModem; |