diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-20 11:46:52 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:54 +0100 |
commit | 2a5e9b46b6b27b8c0a7b26f0087f97259cbab71f (patch) | |
tree | b8bf009c4b518da8c235f50ab2d459537a2603f1 /libmm-glib/mm-bearer.h | |
parent | f797beefacc321b680b4813b7efc734d099b5f33 (diff) |
libmm-glib: use the common IP config object from libmm-common
Diffstat (limited to 'libmm-glib/mm-bearer.h')
-rw-r--r-- | libmm-glib/mm-bearer.h | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/libmm-glib/mm-bearer.h b/libmm-glib/mm-bearer.h index 0f90dde4..23d2ef46 100644 --- a/libmm-glib/mm-bearer.h +++ b/libmm-glib/mm-bearer.h @@ -27,17 +27,10 @@ #include <libmm-common.h> #include "mm-bearer-properties.h" +#include "mm-bearer-ip-config.h" G_BEGIN_DECLS -/** - * MMBearerIpConfig: - * - * Addressing details for assignment to the data interface. - * This is an opaque struct. - */ -typedef struct _MMBearerIpConfig MMBearerIpConfig; - typedef MmGdbusBearer MMBearer; #define MM_TYPE_BEARER(o) MM_GDBUS_TYPE_BEARER (o) #define MM_BEARER(o) MM_GDBUS_BEARER(o) @@ -72,22 +65,9 @@ gboolean mm_bearer_disconnect_sync (MMBearer *self, GCancellable *cancellable, GError **error); -MMBearerProperties *mm_bearer_get_properties (MMBearer *self); - -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); -MMBearerIpConfig *mm_bearer_dup_ipv6_config (MMBearer *self); - -MMBearerIpMethod mm_bearer_ip_config_get_method (const MMBearerIpConfig *config); -const gchar *mm_bearer_ip_config_get_address (const MMBearerIpConfig *config); -gchar *mm_bearer_ip_config_dup_address (const MMBearerIpConfig *config); -guint mm_bearer_ip_config_get_prefix (const MMBearerIpConfig *config); -const gchar **mm_bearer_ip_config_get_dns (const MMBearerIpConfig *config); -gchar **mm_bearer_ip_config_dup_dns (const MMBearerIpConfig *config); -const gchar *mm_bearer_ip_config_get_gateway (const MMBearerIpConfig *config); -gchar *mm_bearer_ip_config_dup_gateway (const MMBearerIpConfig *config); -void mm_bearer_ip_config_free (MMBearerIpConfig *config); +MMBearerProperties *mm_bearer_get_properties (MMBearer *self); +MMBearerIpConfig *mm_bearer_get_ipv4_config (MMBearer *self); +MMBearerIpConfig *mm_bearer_get_ipv6_config (MMBearer *self); G_END_DECLS |