aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-20 15:02:16 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:35 +0100
commit855824d7da3604e53723e6df428dc55f4f686564 (patch)
treed7b5bb681d2f76580624ec49c1c7f742287cc91b /src/mm-bearer.h
parentee9cbbfcfb5b77d84f0c096317dc268226149a42 (diff)
bearer: allow disconnection also with internal requests
Diffstat (limited to 'src/mm-bearer.h')
-rw-r--r--src/mm-bearer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mm-bearer.h b/src/mm-bearer.h
index e619bf1a..95266ad8 100644
--- a/src/mm-bearer.h
+++ b/src/mm-bearer.h
@@ -91,4 +91,11 @@ void mm_bearer_set_connection_forbidden (MMBearer *bearer);
MMBearerStatus mm_bearer_get_status (MMBearer *bearer);
+void mm_bearer_disconnect (MMBearer *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_bearer_disconnect_finish (MMBearer *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_BEARER_H */