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
.
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. |
void mm_unlock_retries_foreach (MMUnlockRetries *self
,MMUnlockRetriesForeachCb callback
,gpointer user_data
);
Executes callback
for each lock information found in self
.
struct MMUnlockRetries;
The MMUnlockRetries structure contains private data and should only be accessed using the provided API.