aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-11 09:27:11 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-17 09:36:53 +0100
commit37d4f5c129b056517c9403a693c30f68777572da (patch)
tree781ba6109194f88d172aad38f11a9892a9bfb2e0 /src/mm-port-mbim.h
parent340fa919d99fc3c07af5129073b60dee71111939 (diff)
port-mbim: implement port reset logic
Diffstat (limited to 'src/mm-port-mbim.h')
-rw-r--r--src/mm-port-mbim.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mm-port-mbim.h b/src/mm-port-mbim.h
index 8b37e99b..7c2d4df5 100644
--- a/src/mm-port-mbim.h
+++ b/src/mm-port-mbim.h
@@ -10,7 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details:
*
- * Copyright (C) 2013 Aleksander Morgado <aleksander@gnu.org>
+ * Copyright (C) 2013-2021 Aleksander Morgado <aleksander@gnu.org>
*/
#ifndef MM_PORT_MBIM_H
@@ -92,4 +92,12 @@ gboolean mm_port_mbim_allocate_qmi_client_finish (MMPortMbim *self,
MbimDevice *mm_port_mbim_peek_device (MMPortMbim *self);
+void mm_port_mbim_reset (MMPortMbim *self,
+ MMPort *data,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_port_mbim_reset_finish (MMPortMbim *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_PORT_MBIM_H */