diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 21:40:20 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | e096b50208cfceb0c3e7156db344f6b19485f13a (patch) | |
tree | a3bff528f97f371ca82fb14a1491b9c3f64fa4c7 /src/mm-bearer-list.h | |
parent | e4f7da5624dc1dfc20373bf77bfc4f3309bacb61 (diff) |
iface-modem,bearer-list: sync all bearers one after the other
Do not launch N checks for N bearers and ignore their result. Instead,
go one by one, and report errors one by one.
Diffstat (limited to 'src/mm-bearer-list.h')
-rw-r--r-- | src/mm-bearer-list.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mm-bearer-list.h b/src/mm-bearer-list.h index 40771f9a..71a394ba 100644 --- a/src/mm-bearer-list.h +++ b/src/mm-bearer-list.h @@ -84,4 +84,15 @@ gboolean mm_bearer_list_disconnect_all_bearers_finish (MMBearerList *self, GAsyncResult *res, GError **error); +#if defined WITH_SYSTEMD_SUSPEND_RESUME + +void mm_bearer_list_sync_all_bearers (MMBearerList *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_bearer_list_sync_all_bearers_finish (MMBearerList *self, + GAsyncResult *res, + GError **error); + +#endif + #endif /* MM_BEARER_LIST_H */ |