icd/icd_iap.c File Reference

#include <sys/types.h>
#include <unistd.h>
#include <glib.h>
#include <string.h>
#include <gconf/gconf-client.h>
#include <osso-ic-dbus.h>
#include <osso-ic-gconf.h>
#include "icd_iap.h"
#include "icd_network_api.h"
#include "icd_log.h"
#include "icd_context.h"
#include "icd_policy_api.h"
#include "icd_idle_timer.h"
#include "icd_request.h"
#include "icd_script.h"
#include "network_api.h"
#include "icd_gconf.h"
#include "icd_osso_ic.h"
#include "icd_status.h"
#include "icd_srv_provider.h"
#include "icd_dbus_api.h"

Functions

static void icd_iap_srv_disconnect_cb (enum icd_srv_status status, gpointer disconnect_cb_token)
static void icd_iap_module_next (struct icd_iap *iap)
static void icd_iap_disconnect_module (struct icd_iap *iap)
static void icd_iap_run_pre_up_scripts (struct icd_iap *iap)
static void icd_iap_run_post_down_scripts (struct icd_iap *iap)
static gboolean icd_iap_run_renew (struct icd_iap *iap)
static gboolean string_equal (const gchar *a, const gchar *b)
void icd_iap_free (struct icd_iap *iap)
struct icd_iapicd_iap_new (void)
gboolean icd_iap_id_create (struct icd_iap *iap, const gchar *new_id)
static struct icd_network_moduleicd_iap_next_ip_up_module (struct icd_iap *iap)
static struct icd_network_moduleicd_iap_next_link_post_up_module (struct icd_iap *iap)
static struct icd_network_moduleicd_iap_next_link_up_module (struct icd_iap *iap)
static void icd_iap_modules_reset (struct icd_iap *iap)
static void icd_iap_do_callback (enum icd_iap_status status, struct icd_iap *iap)
static void icd_iap_disconnect_cb (const enum icd_nw_status status, const gpointer cb_token)
static gboolean icd_iap_run_restart (struct icd_iap *iap)
static void icd_iap_post_down_script_done (const pid_t pid, const gint exit_value, gpointer user_data)
static void icd_iap_up_callback (const enum icd_nw_status status, const gchar *err_str, const gpointer cb_token)
static void icd_iap_link_up_cb (const enum icd_nw_status status, const gchar *err_str, const gchar *interface_name, const gpointer link_up_cb_token,...)
static void icd_iap_link_post_up_cb (const enum icd_nw_status status, const gchar *err_str, const gpointer link_post_up_cb_token,...)
static void icd_iap_ip_up_cb (const enum icd_nw_status status, const gchar *err_str, const gpointer ip_up_cb_token,...)
static void icd_iap_srv_connect_cb (enum icd_srv_status status, const gchar *err_str, gpointer user_data)
static void icd_iap_has_connected (struct icd_iap *iap)
static void icd_iap_save_cb (gboolean success, gpointer user_data)
static void icd_iap_post_up_script_done (const pid_t pid, const gint exit_value, gpointer user_data)
static void icd_iap_pre_up_script_done (const pid_t pid, const gint exit_value, gpointer user_data)
void icd_iap_connect (struct icd_iap *iap, icd_iap_request_cb_fn request_cb, gpointer user_data)
static void icd_iap_pre_down_script_done (const pid_t pid, const gint exit_value, gpointer user_data)
static gboolean icd_iap_check_connected (struct icd_iap *iap, gpointer user_data)
static void icd_iap_script_pre_down (const enum icd_nw_status status, const gpointer cb_token)
void icd_iap_disconnect (struct icd_iap *iap, const gchar *err_str)
static void icd_iap_run_renew_cb (enum icd_nw_renew_status status, gpointer renew_token)
void icd_iap_renew (struct icd_iap *iap, enum icd_nw_layer renew_layer)
void icd_iap_restart (struct icd_iap *iap, enum icd_nw_layer restart_layer)
guint icd_iap_get_ipinfo (struct icd_iap *iap, icd_nw_ip_addr_info_cb_fn cb, gpointer user_data)
gboolean icd_iap_get_ip_stats (struct icd_iap *iap, icd_nw_ip_stats_cb_fn cb, gpointer user_data)
gboolean icd_iap_get_link_post_stats (struct icd_iap *iap, icd_nw_link_post_stats_cb_fn cb, gpointer user_data)
gboolean icd_iap_get_link_stats (struct icd_iap *iap, icd_nw_link_stats_cb_fn cb, gpointer user_data)
struct icd_iapicd_iap_find (const gchar *network_type, const guint network_attrs, const gchar *network_id)
struct icd_iapicd_iap_find_by_id (const gchar *iap_id, const gboolean is_local)
struct icd_iapicd_iap_foreach (icd_iap_foreach_fn fn, gpointer user_data)
gboolean icd_iap_rename (struct icd_iap *iap, const gchar *name)

Variables

const gchar * icd_iap_state_names [ICD_IAP_MAX_STATES]
static const gchar * icd_iap_status_names []
static const gchar * icd_iap_layer_names []

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