diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-05 16:26:29 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:45 +0100 |
commit | 9f8e81277fc5441f0c49f92c13ef4e2c59ec05d0 (patch) | |
tree | d0c070e0a452d2ff4385588c82ee6047e4f6dfaf /src/mm-iface-modem-cdma.h | |
parent | ad05cd2916563d218cf48a1c9327c3a689896796 (diff) |
iface-modem-cdma: allow to configure which registration steps to run
Implementations of the CDMA interface are allowed to specify which steps in the
registration checks can be skipped. For example, if no QCDM ports are available,
there won't be any need to try QCDM-based checks; or if Sprint commands are
available, there won't be any need to run CDMA1x Serving System checks.
Diffstat (limited to 'src/mm-iface-modem-cdma.h')
-rw-r--r-- | src/mm-iface-modem-cdma.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mm-iface-modem-cdma.h b/src/mm-iface-modem-cdma.h index cd77bc3c..eae19ca4 100644 --- a/src/mm-iface-modem-cdma.h +++ b/src/mm-iface-modem-cdma.h @@ -73,6 +73,19 @@ struct _MMIfaceModemCdma { GAsyncResult *res, GError **error); + /* Setup registration checks */ + void (* setup_registration_checks) (MMIfaceModemCdma *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* setup_registration_checks_finish) (MMIfaceModemCdma *self, + GAsyncResult *res, + gboolean *skip_qcdm_call_manager_step, + gboolean *skip_qcdm_hdr_step, + gboolean *skip_at_cdma_service_status_step, + gboolean *skip_at_cdma1x_serving_system_step, + gboolean *skip_detailed_registration_state, + GError **error); + /* Get call manager state */ void (* get_call_manager_state) (MMIfaceModemCdma *self, GAsyncReadyCallback callback, |