icd/icd_dbus_api.c File Reference

#include <string.h>
#include <dbus/dbus.h>
#include <osso-ic.h>
#include "icd_dbus_api.h"
#include "icd_dbus.h"
#include "icd_log.h"
#include "icd_scan.h"
#include "icd_network_api.h"
#include "icd_context.h"
#include "icd_request.h"
#include "icd_name_owner.h"
#include "icd_gconf.h"

Classes

struct  icd_dbus_api_listeners
struct  icd_dbus_api_scan_helper
struct  icd_dbus_api_foreach_data
struct  icd_dbus_api_statistics_data
struct  icd_dbus_api_addrinfo_data

Typedefs

typedef gboolean(* icd_dbus_api_foreach_send_fn )(struct icd_iap *iap, struct icd_dbus_api_foreach_data *foreach_data)

Functions

static void icd_dbus_api_scan_result (enum icd_scan_status status, const struct icd_scan_srv_provider *srv_provider, const struct icd_scan_cache *cache_entry, gpointer user_data)
static gboolean icd_dbus_api_scan_append (gchar *network_type, struct icd_dbus_api_scan_helper *scan_start)
static gboolean icd_dbus_api_scan_all_types (struct icd_network_module *module, gpointer user_data)
static gboolean icd_dbus_api_scan_sender_exists (GSList *sender_list, const gchar *sender)
static struct
icd_dbus_api_listeners ** 
icd_dbus_api_listeners_get (void)
static DBusHandlerResult icd_dbus_api_scan_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static DBusHandlerResult icd_dbus_api_scan_cancel (DBusConnection *conn, DBusMessage *msg, void *user_data)
static gboolean icd_dbus_api_send_connect_sig (enum icd_connect_status status, const gchar *sender, struct icd_iap *iap)
void icd_dbus_api_send_ack (GSList *tracklist, struct icd_iap *iap)
void icd_dbus_api_send_nack (GSList *tracklist, struct icd_iap *iap)
static DBusHandlerResult icd_dbus_api_connect_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static DBusHandlerResult icd_dbus_api_select_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static gboolean icd_dbus_api_disconnect_last (struct icd_iap *iap, gpointer user_data)
static DBusHandlerResult icd_dbus_api_disconnect_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
gboolean icd_dbus_api_update_state (struct icd_iap *iap, const gchar *destination, const enum icd_connection_state state)
gboolean icd_dbus_api_update_search (const gchar *network_type, const gchar *destination, const enum icd_connection_state state)
static gboolean icd_dbus_api_foreach_iap_all (struct icd_iap *iap, gpointer user_data)
static gboolean icd_dbus_api_foreach_iap_req (struct DBusMessage *msg, struct icd_dbus_api_foreach_data *foreach_data)
static enum icd_connection_state icd_dbus_api_state_get (struct icd_iap *iap)
static gboolean icd_dbus_api_state_send (struct icd_iap *iap, struct icd_dbus_api_foreach_data *foreach_data)
static gboolean icd_dbus_api_state_scan_send (const gchar *network_type, struct icd_dbus_api_foreach_data *foreach_data)
static gboolean icd_dbus_api_state_scanning (struct icd_network_module *module, gpointer user_data)
static DBusHandlerResult icd_dbus_api_state_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static void icd_dbus_api_statistics_data_free (struct icd_dbus_api_statistics_data *stats)
static void icd_dbus_api_statistics_ip_cb (const gpointer ip_stats_cb_token, const gchar *network_type, const guint network_attrs, const gchar *network_id, guint time_active, guint rx_bytes, guint tx_bytes)
static void icd_dbus_api_statistics_link_post_cb (const gpointer link_post_stats_cb_token, const gchar *network_type, const guint network_attrs, const gchar *network_id, guint time_active, guint rx_bytes, guint tx_bytes)
static void icd_dbus_api_statistics_link_cb (const gpointer link_stats_cb_token, const gchar *network_type, const guint network_attrs, const gchar *network_id, guint time_active, gint signal, gchar *station_id, gint dB, guint rx_bytes, guint tx_bytes)
static gboolean icd_dbus_api_statistics_send (struct icd_iap *iap, struct icd_dbus_api_foreach_data *foreach_data)
static DBusHandlerResult icd_dbus_api_statistics_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static void icd_dbus_api_addrinfo_cb (const gpointer addr_info_cb_token, const gchar *network_type, const guint network_attrs, const gchar *network_id, gchar *ip_address, gchar *ip_netmask, gchar *ip_gateway, gchar *ip_dns1, gchar *ip_dns2, gchar *ip_dns3)
static gboolean icd_dbus_api_addrinfo_send (struct icd_iap *iap, struct icd_dbus_api_foreach_data *foreach_data)
static DBusHandlerResult icd_dbus_api_addrinfo_req (DBusConnection *conn, DBusMessage *msg, void *user_data)
static
DBusObjectPathMessageFunction 
icd_dbus_api_find_handler (DBusMessage *message, struct icd_dbus_mcall_table *table)
static DBusHandlerResult icd_dbus_api_request (DBusConnection *connection, DBusMessage *message, void *user_data)
gboolean icd_dbus_api_app_exit (const gchar *dbus_dest)
void icd_dbus_api_deinit (void)
gboolean icd_dbus_api_init (void)

Variables

struct icd_dbus_mcall_table icd_dbus_api_mcalls []
struct icd_dbus_sig_table icd_dbus_api_signals []

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