diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2014-01-23 14:06:54 +0000 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2014-01-23 14:06:54 +0000 |
commit | 5f7e22aa9ecafab2c4e37e8f842fb04248b69f8b (patch) | |
tree | 0a1f627e24441430c77b708a64f4ec0729299367 /src/gclue-config.h | |
parent | a9f336074e6dd2a14dadd645c706287b7503e73b (diff) | |
download | geoclue-5f7e22aa9ecafab2c4e37e8f842fb04248b69f8b.tar.gz |
wifi,config: Use an API key
To be able to counter the attacks on its service, Mozilla folks now
require apps to provide a key. At the moment, this could be anything but
in future, they'll allocate us a key and we'll have to use that. Lets
keep it in the configuration file and when/if we need to change it in
future, people can make this working again but changing this in their
config file rather than be forced to update to latest geoclue (assuming
their distro will even provide an update).
Diffstat (limited to 'src/gclue-config.h')
-rw-r--r-- | src/gclue-config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gclue-config.h b/src/gclue-config.h index 7f69ca8..bcc7fb3 100644 --- a/src/gclue-config.h +++ b/src/gclue-config.h @@ -60,9 +60,10 @@ GType gclue_config_get_type (void) G_GNUC_CONST; GClueConfig * gclue_config_get_singleton (void); gboolean gclue_config_is_agent_allowed (GClueConfig *config, GClueClientInfo *agent_info); -gboolean gclue_config_is_app_allowed (GClueConfig *config, - const char *desktop_id, - GClueClientInfo *app_info); +gboolean gclue_config_is_app_allowed (GClueConfig *config, + const char *desktop_id, + GClueClientInfo *app_info); +char * gclue_config_get_mozilla_key (GClueConfig *config); G_END_DECLS |