aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-bearer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-bearer.h')
-rw-r--r--libmm-glib/mm-bearer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer.h b/libmm-glib/mm-bearer.h
index 988cc8d5..89c3345d 100644
--- a/libmm-glib/mm-bearer.h
+++ b/libmm-glib/mm-bearer.h
@@ -36,6 +36,14 @@ G_BEGIN_DECLS
*/
typedef struct _MMBearerIpConfig MMBearerIpConfig;
+/**
+ * MMBearerProperties:
+ *
+ * Addressing details for assignment to the data interface.
+ * This is an opaque struct.
+ */
+typedef struct _MMBearerProperties MMBearerProperties;
+
typedef MmGdbusBearer MMBearer;
#define MM_TYPE_BEARER(o) MM_GDBUS_TYPE_BEARER (o)
#define MM_BEARER(o) MM_GDBUS_BEARER(o)
@@ -72,6 +80,22 @@ gboolean mm_bearer_disconnect_sync (MMBearer *self,
GCancellable *cancellable,
GError **error);
+const MMBearerProperties *mm_bearer_get_properties (MMBearer *self);
+MMBearerProperties *mm_bearer_dup_properties (MMBearer *self);
+
+const gchar *mm_bearer_properties_get_apn (const MMBearerProperties *properties);
+gchar *mm_bearer_properties_dup_apn (const MMBearerProperties *properties);
+const gchar *mm_bearer_properties_get_ip_type (const MMBearerProperties *properties);
+gchar *mm_bearer_properties_dup_ip_type (const MMBearerProperties *properties);
+const gchar *mm_bearer_properties_get_user (const MMBearerProperties *properties);
+gchar *mm_bearer_properties_dup_user (const MMBearerProperties *properties);
+const gchar *mm_bearer_properties_get_password (const MMBearerProperties *properties);
+gchar *mm_bearer_properties_dup_password (const MMBearerProperties *properties);
+const gchar *mm_bearer_properties_get_number (const MMBearerProperties *properties);
+gchar *mm_bearer_properties_dup_number (const MMBearerProperties *properties);
+gboolean mm_bearer_properties_get_allow_roaming (const MMBearerProperties *properties);
+void mm_bearer_properties_free (MMBearerProperties *properties);
+
const MMBearerIpConfig *mm_bearer_get_ipv4_config (MMBearer *self);
MMBearerIpConfig *mm_bearer_dup_ipv4_config (MMBearer *self);
const MMBearerIpConfig *mm_bearer_get_ipv6_config (MMBearer *self);