#include <string.h>
#include <dbus/dbus.h>
#include <osso-ic-ui-dbus.h>
#include "icd_log.h"
#include "icd_dbus.h"
#include "policy_api.h"
Classes | |
struct | policy_change_data |
Defines | |
#define | POLICY_CHANGE_CALL_TIMEOUT 10 * 1000 |
#define | POLICY_CHANGE_EXTRA_FILTER "member='" ICD_UI_CHANGE_SIG "'" |
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) |
static void | policy_change_delete_data (struct policy_change_data *data) |
static void | policy_change_do_cb (enum icd_policy_status status, struct policy_change_data *data) |
static DBusHandlerResult | policy_change_done (DBusConnection *connection, DBusMessage *message, void *user_data) |
static void | policy_change_confirm_cb (DBusPendingCall *pending, void *user_data) |
static gboolean | policy_change_confirm (struct policy_change_data *data) |
static void | policy_change_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_change_destruct (gpointer *private) |