#include <string.h>
#include <glib.h>
#include <gconf/gconf-client.h>
#include <osso-ic.h>
#include <osso-ic-gconf.h>
#include "policy_api.h"
#include "icd_log.h"
Classes | |
struct | policy_scan_data |
struct | policy_any_data |
struct | policy_any_network |
Functions | |
void | icd_policy_init (struct icd_policy_api *policy_api, icd_policy_nw_add_fn add_network, icd_policy_request_merge_fn merge_requests, icd_policy_request_make_new_fn make_request, icd_policy_scan_start_fn scan_start, icd_policy_scan_stop_fn scan_stop, icd_policy_nw_close_fn not_used_1, icd_policy_network_priority_fn not_used_2, icd_policy_service_module_check_fn srv_check) |
static gboolean | policy_any_string_equal (const gchar *a, const gchar *b) |
static struct policy_scan_data * | policy_any_scan_data_new (struct policy_any_data *any_data, struct icd_policy_request *new_request, icd_policy_request_new_cb_fn policy_done_cb, gpointer policy_token) |
static gint | policy_any_sort_network (gconstpointer a, gconstpointer b) |
static void | policy_any_scan_cb (const guint status, const gchar *service_name, const gchar *service_type, const guint service_attrs, const gchar *service_id, gint service_priority, const gchar *network_name, const gchar *network_type, const guint network_attrs, const gchar *network_id, const gint network_priority, const enum icd_nw_levels signal, gpointer user_data) |
static GSList * | policy_any_get_types (struct policy_any_data *data) |
static gint | policy_any_get_prio (const GSList *existing_requests) |
static void | policy_any_new_request (struct icd_policy_request *new_request, const GSList *existing_requests, icd_policy_request_new_cb_fn policy_done_cb, gpointer policy_token, gpointer *private) |
static void | policy_any_cancel_request (struct icd_policy_request *request, gpointer *private) |
static void | policy_any_destruct (gpointer *private) |