diff options
Diffstat (limited to 'src/mm-sim.h')
-rw-r--r-- | src/mm-sim.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/src/mm-sim.h b/src/mm-sim.h index 98633da5..6557fd5b 100644 --- a/src/mm-sim.h +++ b/src/mm-sim.h @@ -81,6 +81,25 @@ struct _MMSimClass { gchar * (* load_operator_name_finish) (MMSim *self, GAsyncResult *res, GError **error); + + /* Send PIN (async) */ + void (* send_pin) (MMSim *self, + const gchar *pin, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* send_pin_finish) (MMSim *self, + GAsyncResult *res, + GError **error); + + /* Send PUK (async) */ + void (* send_puk) (MMSim *self, + const gchar *puk, + const gchar *new_pin, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* send_puk_finish) (MMSim *self, + GAsyncResult *res, + GError **error); }; GType mm_sim_get_type (void); @@ -103,13 +122,21 @@ gboolean mm_sim_initialize_finish (MMSim *self, void mm_sim_send_pin (MMSim *self, const gchar *pin, - const gchar *puk, GAsyncReadyCallback callback, gpointer user_data); gboolean mm_sim_send_pin_finish (MMSim *self, GAsyncResult *res, GError **error); +void mm_sim_send_puk (MMSim *self, + const gchar *puk, + const gchar *new_pin, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_sim_send_puk_finish (MMSim *self, + GAsyncResult *res, + GError **error); + void mm_sim_export (MMSim *self); const gchar *mm_sim_get_path (MMSim *sim); |