iface-modem: interface can be disabled
The Modem interface can be disabled, going from enabled back to initialized. The disabling process will include closing the ports opened during the enabling.
This commit is contained in:
@@ -254,6 +254,14 @@ gboolean mm_iface_modem_enable_finish (MMIfaceModem *self,
|
||||
GAsyncResult *res,
|
||||
GError **error);
|
||||
|
||||
/* Disable Modem interface (async) */
|
||||
void mm_iface_modem_disable (MMIfaceModem *self,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
gboolean mm_iface_modem_disable_finish (MMIfaceModem *self,
|
||||
GAsyncResult *res,
|
||||
GError **error);
|
||||
|
||||
/* Shutdown Modem interface */
|
||||
gboolean mm_iface_modem_shutdown (MMIfaceModem *self,
|
||||
GError **error);
|
||||
|
Reference in New Issue
Block a user