Commit ddb123d8 authored by Zeeshan Ali's avatar Zeeshan Ali

service,config: Internal API to get number of whitelisted agents

parent afebeb0d
......@@ -307,6 +307,12 @@ gclue_config_is_agent_allowed (GClueConfig *config,
return FALSE;
}
gsize
gclue_config_get_num_allowed_agents (GClueConfig *config)
{
return config->priv->num_agents;
}
GClueAppPerm
gclue_config_get_app_perm (GClueConfig *config,
const char *desktop_id,
......
......@@ -67,6 +67,7 @@ GClueConfig * gclue_config_get_singleton (void);
gboolean gclue_config_is_agent_allowed (GClueConfig *config,
const char *desktop_id,
GClueClientInfo *agent_info);
gsize gclue_config_get_num_allowed_agents (GClueConfig *config);
GClueAppPerm gclue_config_get_app_perm (GClueConfig *config,
const char *desktop_id,
GClueClientInfo *app_info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment