icd/policy_api.h File Reference

#include <glib.h>
#include "network_api.h"

Go to the source code of this file.

Classes

struct  icd_policy_request
struct  icd_policy_api

Defines

#define ICD_POLICY_ATTRIBUTE_CONN_UI   0x01
#define ICD_POLICY_ATTRIBUTE_BACKGROUND   0x02
#define ICD_POLICY_ATTRIBUTE_CONNECTIONS_FAILED   0x04
#define ICD_POLICY_ATTRIBUTE_HAS_CONNECTIONS   0x08
#define ICD_POLICY_ATTRIBUTE_NO_INTERACTION   0x10
#define ICD_POLICY_ATTRIBUTE_ALWAYS_ONLINE_CHANGE   0x20
#define ICD_POLICY_ATTRIBUTE_ALWAYS_ONLINE   0x40

Typedefs

typedef void(* icd_policy_request_new_cb_fn )(enum icd_policy_status status, struct icd_policy_request *new_request, gpointer policy_token)
typedef void(* icd_policy_request_new_fn )(struct icd_policy_request *new_request, const GSList *existing_requests, icd_policy_request_new_cb_fn policy_done_cb, gpointer policy_token, gpointer *private)
typedef void(* icd_policy_request_cancel_fn )(struct icd_policy_request *request, gpointer *private)
typedef void(* icd_policy_nw_connected_fn )(struct icd_policy_request *network, GSList *existing_connections, gpointer *private)
typedef void(* icd_policy_nw_disconnected_fn )(struct icd_policy_request *network, const gchar *err_str, GSList *existing_connections, gpointer *private)
typedef void(* icd_policy_nw_scan_stop_fn )(const gchar *network_type, gpointer *private)
typedef void(* icd_policy_nw_scan_start_fn )(const gchar *network_type, gpointer *private)
typedef void(* icd_policy_destruct_fn )(gpointer *private)
typedef gboolean(* icd_policy_network_priority_fn )(const gchar *srv_type, const gchar *srv_id, const gchar *network_type, const guint network_attrs, gint *network_priority)
typedef gboolean(* icd_policy_service_module_check_fn )(const gchar *network_type)
typedef void(* icd_policy_nw_add_fn )(struct icd_policy_request *request, gchar *service_type, guint service_attrs, gchar *service_id, gchar *network_type, guint network_attrs, gchar *network_id, gint network_priority)
typedef void(* icd_policy_request_merge_fn )(struct icd_policy_request *request_to_merge, struct icd_policy_request *existing_request)
typedef void(* icd_policy_request_make_new_fn )(guint policy_attrs, gchar *service_type, guint service_attrs, gchar *service_id, gchar *network_type, guint network_attrs, gchar *network_id)
typedef void(* icd_policy_scan_cb_fn )(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, gint network_priority, const enum icd_nw_levels signal, gpointer user_data)
typedef void(* icd_policy_scan_start_fn )(const gchar *type, const guint scope, icd_policy_scan_cb_fn cb, gpointer user_data)
typedef void(* icd_policy_scan_stop_fn )(icd_policy_scan_cb_fn cb, gpointer user_data)
typedef void(* icd_policy_nw_close_fn )(struct icd_policy_request *network)
typedef void(* icd_policy_init_fn )(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 nw_close, icd_policy_network_priority_fn priority, icd_policy_service_module_check_fn srv_check)

Enumerations

enum  icd_policy_status { ICD_POLICY_ACCEPTED = 0, ICD_POLICY_MERGED, ICD_POLICY_WAITING, ICD_POLICY_REJECTED }
enum  icd_policy_scan_status { ICD_POLICY_SCAN_NEW_NETWORK = 0, ICD_POLICY_SCAN_UPDATE_NETWORK, ICD_POLICY_SCAN_EXPIRED_NETWORK, ICD_POLICY_SCAN_DONE }

Variables

enum icd_policy_status(* icd_policy_nw_connect_fn )(struct icd_policy_request *network, GSList *existing_connections, gpointer *private)
enum icd_policy_status(* icd_policy_nw_connection_restart_fn )(struct icd_policy_request *network, guint restart_count, gpointer *private)
enum icd_policy_status(* icd_policy_nw_disconnect_fn )(struct icd_policy_request *network, gint reference_count, GSList *existing_connections, gpointer *private)


Detailed Description

Copyright (C) 2007 Nokia Corporation. All rights reserved.

Author:
patrik.flykt@nokia.com

Generated on Thu Mar 11 09:04:50 2010 for ICd2 by  doxygen 1.5.6