aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-location.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-modem-location.h')
-rw-r--r--libmm-glib/mm-modem-location.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-location.h b/libmm-glib/mm-modem-location.h
index 2d806bef..e9ab9ea0 100644
--- a/libmm-glib/mm-modem-location.h
+++ b/libmm-glib/mm-modem-location.h
@@ -76,9 +76,14 @@ MMModemLocationSource mm_modem_location_get_enabled (MMModemLocation *self)
gboolean mm_modem_location_signals_location (MMModemLocation *self);
+MMModemLocationAssistanceDataType mm_modem_location_get_supported_assistance_data (MMModemLocation *self);
+
const gchar *mm_modem_location_get_supl_server (MMModemLocation *self);
gchar *mm_modem_location_dup_supl_server (MMModemLocation *self);
+const gchar **mm_modem_location_get_assistance_data_servers (MMModemLocation *self);
+gchar **mm_modem_location_dup_assistance_data_servers (MMModemLocation *self);
+
guint mm_modem_location_get_gps_refresh_rate (MMModemLocation *self);
void mm_modem_location_setup (MMModemLocation *self,
@@ -109,6 +114,21 @@ gboolean mm_modem_location_set_supl_server_sync (MMModemLocation *self,
GCancellable *cancellable,
GError **error);
+void mm_modem_location_inject_assistance_data (MMModemLocation *self,
+ const guint8 *data,
+ gsize data_size,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_modem_location_inject_assistance_data_finish (MMModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+gboolean mm_modem_location_inject_assistance_data_sync (MMModemLocation *self,
+ const guint8 *data,
+ gsize data_size,
+ GCancellable *cancellable,
+ GError **error);
+
void mm_modem_location_set_gps_refresh_rate (MMModemLocation *self,
guint rate,
GCancellable *cancellable,