icd/icd_scan.c File Reference

#include <time.h>
#include <string.h>
#include "icd_log.h"
#include "icd_scan.h"
#include "icd_status.h"
#include "icd_network_api.h"
#include "icd_network_priority.h"
#include "icd_srv_provider.h"
#include "icd_gconf.h"

Classes

struct  icd_scan_listener
struct  icd_scan_expire_network_data

Functions

static gboolean string_equal (const gchar *a, const gchar *b)
void icd_scan_cache_entry_free (struct icd_scan_cache *cache_entry)
void icd_scan_cache_entry_add (struct icd_network_module *module, struct icd_scan_cache_list *scan_cache, struct icd_scan_cache *cache_entry)
struct icd_scan_cache_listicd_scan_cache_list_lookup (struct icd_network_module *module, const gchar *network_id)
struct icd_scan_cacheicd_scan_cache_entry_find (struct icd_scan_cache_list *scan_cache_list, const gchar *network_type, const guint network_attrs)
gboolean icd_scan_cache_entry_remove (struct icd_scan_cache_list *scan_cache_list, const gchar *network_id, const gchar *network_type, const guint network_attrs)
static gboolean icd_scan_cache_rescan (gpointer data)
static void icd_scan_status_stop (struct icd_network_module *module)
static void icd_scan_status_start (struct icd_network_module *module)
static gboolean icd_scan_listener_exist (struct icd_network_module *module)
static gboolean icd_scan_listener_send_entry (struct icd_scan_srv_provider *srv_provider, struct icd_scan_cache *cache_entry, struct icd_scan_listener *listener, enum icd_scan_status status)
static void icd_scan_listener_send_list (gpointer key, gpointer value, gpointer user_data)
static gboolean icd_scan_cache_element_check (gpointer key, gpointer value, gpointer user_data)
static gboolean icd_scan_cache_has_elements (struct icd_network_module *module)
static void icd_scan_listener_send_cache (struct icd_network_module *module, struct icd_scan_listener *listener)
static gboolean icd_scan_listener_add (struct icd_network_module *module, const gchar *type, icd_scan_cb_fn cb, gpointer user_data)
static void icd_scan_listener_remove (struct icd_network_module *module, icd_scan_cb_fn cb, gpointer user_data)
void icd_scan_listener_notify (struct icd_network_module *module, struct icd_scan_srv_provider *srv_provider, struct icd_scan_cache *cache_entry, enum icd_scan_status status)
static gboolean icd_scan_expire_network (gpointer key, gpointer value, gpointer user_data)
static gboolean icd_scan_expire_network_for_hash (gpointer key, gpointer value, gpointer user_data)
static guint icd_scan_timeout_rescan_add (struct icd_network_module *module, guint seconds)
static guint icd_scan_timeout_add (struct icd_network_module *module, GSourceFunc expire_function, guint seconds)
static void icd_scan_timeout_free (struct icd_scan_cache_timeout *timeout_data)
static gboolean icd_scan_cache_expire (gpointer data)
static void icd_scan_cb (enum icd_network_search_status status, gchar *network_name, gchar *network_type, const guint network_attrs, gchar *network_id, enum icd_nw_levels signal, gchar *station_id, gint dB, const gpointer search_cb_token)
static gboolean icd_scan_network (struct icd_network_module *module, const gchar *network_type)
static gboolean icd_scan_cache_remove_iap_for_module (struct icd_network_module *module, gpointer user_data)
void icd_scan_cache_remove_iap (gchar *iap_name)
gboolean icd_scan_results_request (const gchar *type, guint scope, icd_scan_cb_fn cb, gpointer user_data)
gboolean icd_scan_results_unregister (icd_scan_cb_fn cb, gpointer user_data)
gboolean icd_scan_cache_init (struct icd_network_module *module)
void icd_scan_cache_remove (struct icd_network_module *module)

Variables

const gchar const * icd_scan_status_names []

Detailed Description

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

Author:
patrik.flykt@nokia.com

jukka.rissanen@nokia.com


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