aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-19 13:03:48 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:34 +0100
commitc2e4d9cea709d8175e475359a2a611d3b3dcf0e4 (patch)
tree6dd9fe026b3761f334b20f66962587592884b163 /cli/mmcli-common.h
parent803bc339cf5698040c5db76886398febc6e624e7 (diff)
cli: new helper to look for specific MMBearer objects
Diffstat (limited to 'cli/mmcli-common.h')
-rw-r--r--cli/mmcli-common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/mmcli-common.h b/cli/mmcli-common.h
index 3273455c..8ab1587f 100644
--- a/cli/mmcli-common.h
+++ b/cli/mmcli-common.h
@@ -36,6 +36,15 @@ MMObject *mmcli_get_modem_finish (GAsyncResult *res);
MMObject *mmcli_get_modem_sync (GDBusConnection *connection,
const gchar *modem_str);
+void mmcli_get_bearer (GDBusConnection *connection,
+ const gchar *bearer_path,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMBearer *mmcli_get_bearer_finish (GAsyncResult *res);
+MMBearer *mmcli_get_bearer_sync (GDBusConnection *connection,
+ const gchar *bearer_path);
+
const gchar *mmcli_get_bearer_ip_method_string (MMBearerIpMethod method);
const gchar *mmcli_get_state_string (MMModemState state);
const gchar *mmcli_get_state_reason_string (MMModemStateChangeReason reason);