Top |
guint | mm_unlock_retries_get () |
void | (*MMUnlockRetriesForeachCb) () |
void | mm_unlock_retries_foreach () |
The MMUnlockRetries is an object exposing the unlock retry counts for different MMModemLock values.
This object is retrieved from the MMModem object with either
mm_modem_get_unlock_retries()
or mm_modem_peek_unlock_retries()
.
guint mm_unlock_retries_get (MMUnlockRetries *self
,MMModemLock lock
);
Gets the unlock retries for the given lock
.
Since: 1.0
void (*MMUnlockRetriesForeachCb) (MMModemLock lock
,guint count
,gpointer user_data
);
Specifies the type of function passed to mm_unlock_retries_foreach()
.
lock |
a MMModemLock. |
|
count |
the number of retries left for |
|
user_data |
data passed to the function. |
Since: 1.0
void mm_unlock_retries_foreach (MMUnlockRetries *self
,MMUnlockRetriesForeachCb callback
,gpointer user_data
);
Executes callback
for each lock information found in self
.
self |
a |
|
callback |
callback to call for each available lock. |
[scope call] |
user_data |
data to pass to |
[closure] |
Since: 1.0
struct MMUnlockRetries;
The MMUnlockRetries structure contains private data and should only be accessed using the provided API.
#define MM_UNLOCK_RETRIES_UNKNOWN 999
Identifier for reporting unknown unlock retries.
Since: 1.0