From 1e026fe98619749112958d5ac5b7b243ef6aee7a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 30 Nov 2011 16:28:44 +0100 Subject: iface-modem-3gpp: cleanup CS and PS registrations during disable --- src/mm-iface-modem-3gpp.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/mm-iface-modem-3gpp.h') diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h index 4b58a6df..37f0fa46 100644 --- a/src/mm-iface-modem-3gpp.h +++ b/src/mm-iface-modem-3gpp.h @@ -66,6 +66,14 @@ struct _MMIfaceModem3gpp { GAsyncResult *res, GError **error); + /* Cleanup CS Registration */ + void (* cleanup_cs_registration) (MMIfaceModem3gpp *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (*cleanup_cs_registration_finish) (MMIfaceModem3gpp *self, + GAsyncResult *res, + GError **error); + /* Setup PS Registration */ void (* setup_ps_registration) (MMIfaceModem3gpp *self, GAsyncReadyCallback callback, @@ -74,6 +82,14 @@ struct _MMIfaceModem3gpp { GAsyncResult *res, GError **error); + /* Cleanup PS Registration */ + void (* cleanup_ps_registration) (MMIfaceModem3gpp *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (*cleanup_ps_registration_finish) (MMIfaceModem3gpp *self, + GAsyncResult *res, + GError **error); + /* Run CS registration state check. * Note that no registration state is returned, implementations should call * mm_iface_modem_3gpp_update_registration_state(). */ -- cgit v1.2.3