icd/icd_network_priority.c File Reference

#include <string.h>
#include <gconf/gconf-client.h>
#include <osso-ic-gconf.h>
#include "icd_log.h"
#include "icd_network_priority.h"
#include "network_api.h"

Defines

#define ICD_NW_PRIO_SRV_PREF   500
#define PREFERRED_SERVICE_ID
#define PREFERRED_SERVICE_TYPE
#define ICD_NW_TYPE_WLAN   "WLAN_"
#define ICD_NW_PRIO_WLAN   60
#define ICD_NW_TYPE_WIMAX   "WIMAX"
#define ICD_NW_PRIO_WIMAX   50
#define ICD_NW_TYPE_GPRS   "GPRS"
#define ICD_NW_PRIO_GPRS   45
#define ICD_NW_TYPE_DUN_GSM_PS   "DUN_GSM_PS"
#define ICD_NW_TYPE_DUN_CDMA_PSD   "DUN_CDMA_PSD"
#define ICD_NW_PRIO_DUN_PS   40
#define ICD_NW_TYPE_DUN_GSM_CS   "DUN_GSM_CS"
#define ICD_NW_TYPE_DUN_CDMA_CSD   "DUN_CDMA_CSD"
#define ICD_NW_TYPE_DUN_CDMA_QNC   "DUN_CDMA_QNC"
#define ICD_NW_PRIO_DUN_CS   30
#define ICD_NW_PRIO_HIGHEST   ICD_NW_PRIO_WLAN
#define ICD_NW_PRIO_SAVED_BOOSTER_VALUE   100

Functions

void icd_network_priority_pref_init (void)
gint icd_network_priority_get (const gchar *srv_type, const gchar *srv_id, const gchar *network_type, const guint network_attrs)
gboolean icd_network_priority (const gchar *srv_type, const gchar *srv_id, const gchar *network_type, const guint network_attrs, gint *network_priority)

Variables

static gchar * preferred_id = NULL
static gchar * preferred_type = NULL

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