Compatibility functions providing OSSO IC D-Bus API
[ICd internal functions]


Classes

struct  icd_osso_ic_handler
struct  icd_osso_ic_mcall_data
struct  icd_osso_ic_ipdata
struct  icd_osso_ic_stats_data
struct  icd_osso_ic_get_state_data

Defines

#define ICD_OSSO_UI_REQUEST_TIMEOUT   4 * 1000

Typedefs

typedef DBusMessage *(* icd_osso_ic_message_handler )(DBusMessage *request, void *user_data)
typedef void(* icd_osso_ui_cb_fn )(gboolean success, gpointer user_data)

Functions

static gchar * icd_osso_ic_get_type (const gchar *iap_name)
static void icd_osso_ic_ui_pending (DBusPendingCall *pending, void *user_data)
static gpointer icd_osso_ic_ipinfo_get_first (struct icd_request *request, gpointer user_data)
static void icd_osso_ic_connstats_error (DBusMessage *method_call)
static void icd_osso_ic_ipinfo_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 DBusMessage * icd_osso_ic_ipinfo (DBusMessage *method_call, void *user_data)
static void icd_osso_ic_connstats_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_osso_ic_connstats_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_osso_ic_connstats_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 void icd_osso_ic_connstats_link_get (struct icd_iap *iap, DBusMessage *method_call)
static gpointer icd_osso_ic_connstats_get_first (struct icd_request *request, gpointer user_data)
static DBusMessage * icd_osso_ic_connstats (DBusMessage *method_call, void *user_data)
static gpointer icd_osso_ic_get_state_foreach (struct icd_request *request, gpointer user_data)
static DBusMessage * icd_osso_ic_get_state (DBusMessage *method_call, void *user_data)
void icd_osso_ic_send_ack (GSList *tracking_list, const gchar *iap_name)
void icd_osso_ic_send_nack (GSList *tracking_list)
static DBusMessage * icd_osso_ic_disconnect (DBusMessage *method_call, void *user_data)
static DBusMessage * icd_osso_ic_shutdown (DBusMessage *request, void *user_data)
static DBusMessage * icd_osso_ic_make_request (struct icd_request *merge_request, struct icd_tracking_info *track, DBusMessage *message, const gchar *requested_iap, const guint flags)
static DBusMessage * icd_osso_ic_connect (DBusMessage *method_call, void *user_data)
static DBusMessage * icd_osso_ic_activate (DBusMessage *method_call, void *user_data)
static DBusMessage * icd_osso_ic_bg_killed (DBusMessage *method_call, void *user_data)
static icd_osso_ic_message_handler icd_osso_ic_find_handler (DBusMessage *msg, struct icd_osso_ic_handler *handlers)
static DBusHandlerResult icd_osso_ic_request (DBusConnection *connection, DBusMessage *message, void *user_data)
void icd_osso_ui_send_retry (const gchar *iap_name, const gchar *error, icd_osso_ui_cb_fn cb, gpointer user_data)
void icd_osso_ui_send_save_cancel (gpointer send_save_token)
gpointer icd_osso_ui_send_save (const gchar *iap_name, icd_osso_ui_cb_fn cb, gpointer user_data)
static DBusMessage * icd_osso_ui_retry (DBusMessage *signal, void *user_data)
static DBusMessage * icd_osso_ui_disconnect (DBusMessage *signal, void *user_data)
static DBusMessage * icd_osso_ui_save (DBusMessage *signal, void *user_data)
static DBusHandlerResult icd_osso_ui_signal (DBusConnection *connection, DBusMessage *message, void *user_data)
gboolean icd_osso_ic_init (struct icd_context *icd_ctx)
void icd_osso_ic_deinit (void)

Variables

static struct icd_osso_ic_handler icd_osso_ic_htable []
static struct icd_osso_ic_handler icd_osso_ui_htable []

Define Documentation

#define ICD_OSSO_UI_REQUEST_TIMEOUT   4 * 1000

milliseconds to wait for UI to respond to requests; used only for log message printing for now

Referenced by icd_osso_ic_shutdown(), icd_osso_ui_send_retry(), and icd_osso_ui_send_save().


Typedef Documentation

typedef DBusMessage*(* icd_osso_ic_message_handler)(DBusMessage *request, void *user_data)

Function that handles an incoming OSSO IC API request

Parameters:
request the D-Bus message
user_data user data
Returns:
the D-Bus reply or NULL if a reply is sent later

typedef void(* icd_osso_ui_cb_fn)(gboolean success, gpointer user_data)

Callback function called when a UI retry or save request has completed

Parameters:
success TRUE on success, FALSE on failure
user_data user data passed to retry or save function


Function Documentation

static DBusMessage* icd_osso_ic_activate ( DBusMessage *  method_call,
void *  user_data 
) [static]

IAP activation requested by the 'Select connection' UI dialog or Connection Manager, i.e. a connection request from connectivity components without any reference counting

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
a D-Bus reply to the request

Todo:
OSSO_IAP_ASK merging should be done somewhere else

References icd_osso_ic_make_request(), ICD_POLICY_ATTRIBUTE_CONN_UI, icd_request_cancel(), icd_request_find(), icd_request_send_nack(), ILOG_DEBUG, and ILOG_ERR.

static DBusMessage* icd_osso_ic_bg_killed ( DBusMessage *  method_call,
void *  user_data 
) [static]

Desktop background killing application

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
a D-Bus reply to the request

References icd_tracking_info_find(), icd_tracking_info_update(), ILOG_DEBUG, and ILOG_INFO.

static DBusMessage* icd_osso_ic_connect ( DBusMessage *  method_call,
void *  user_data 
) [static]

IAP activation via connectivity libraries.

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
a D-Bus reply to the request

References icd_osso_ic_make_request(), ICD_POLICY_ATTRIBUTE_BACKGROUND, ICD_POLICY_ATTRIBUTE_NO_INTERACTION, ICD_TRACKING_INFO_ICD, icd_tracking_info_new(), and ILOG_ERR.

static DBusMessage* icd_osso_ic_connstats ( DBusMessage *  method_call,
void *  user_data 
) [static]

Get connection statistics info for the latest connection

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
an D-Bus reply to the request

References icd_iap_find(), ICD_NW_ATTR_IAPNAME, icd_osso_ic_connstats_error(), icd_osso_ic_connstats_get_first(), icd_osso_ic_connstats_link_get(), icd_osso_ic_get_type(), icd_request_foreach(), ILOG_DEBUG, and ILOG_INFO.

static void icd_osso_ic_connstats_error ( DBusMessage *  method_call  )  [static]

Send connection statistics error

Parameters:
method_call the method call to reply to

References icd_dbus_send_system_msg().

Referenced by icd_osso_ic_connstats(), icd_osso_ic_connstats_ip_cb(), icd_osso_ic_connstats_link_cb(), icd_osso_ic_connstats_link_post_cb(), and icd_osso_ic_ipinfo_cb().

static gpointer icd_osso_ic_connstats_get_first ( struct icd_request request,
gpointer  user_data 
) [static]

Find the first connected request that has an iap which can return statistics

Parameters:
request request to examine
user_data connection statistics data structure
Returns:
iap which returned ip statistics, NULL otherwise

References ICD_REQUEST_SUCCEEDED, ILOG_CRIT, ILOG_DEBUG, icd_request::state, and icd_request::try_iaps.

Referenced by icd_osso_ic_connstats().

static void icd_osso_ic_connstats_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]

Receive ip statistics based on network type, attributes and id. Values are set to zero or NULL if statistics are not available or applicable

Parameters:
ip_stats_cb_token token passed to the request function
network_type network type
network_attrs attributes, such as type of network_id, security, etc.
network_id network id
time_active time active, if applicable
signal signal level
station_id base station id, e.g. WLAN access point MAC address
dB raw signal strength; depends on the type of network
rx_bytes bytes received on the link, if applicable
tx_bytes bytes sent on the link, if applicable
private a reference to the icd_nw_api private memeber

References icd_osso_ic_stats_data::dB, icd_dbus_send_system_msg(), icd_iap_find(), icd_osso_ic_connstats_error(), ILOG_DEBUG, ILOG_ERR, ILOG_WARN, icd_osso_ic_stats_data::request, icd_osso_ic_stats_data::rx_bytes, icd_osso_ic_stats_data::signal, icd_osso_ic_stats_data::station_id, icd_osso_ic_stats_data::time_active, and icd_osso_ic_stats_data::tx_bytes.

Referenced by icd_osso_ic_connstats_link_post_cb().

static void icd_osso_ic_connstats_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]

Receive link statistics based on network type, attributes and id. Values are set to zero or NULL if statistics are not available or applicable

Parameters:
link_stats_cb_token token passed to the request function
network_type network type
network_attrs attributes, such as type of network_id, security, etc.
network_id network id
time_active time active, if applicable
signal signal level
station_id base station id, e.g. WLAN access point MAC address
dB raw signal strength; depends on the type of network
rx_bytes bytes received on the link, if applicable
tx_bytes bytes sent on the link, if applicable
private a reference to the icd_nw_api private memeber

References icd_osso_ic_stats_data::dB, icd_iap_find(), icd_iap_get_link_post_stats(), icd_osso_ic_connstats_error(), icd_osso_ic_connstats_link_post_cb(), ILOG_ERR, ILOG_WARN, icd_osso_ic_stats_data::request, icd_osso_ic_stats_data::rx_bytes, icd_osso_ic_stats_data::signal, icd_osso_ic_stats_data::station_id, icd_osso_ic_stats_data::time_active, and icd_osso_ic_stats_data::tx_bytes.

Referenced by icd_osso_ic_connstats_link_get().

static void icd_osso_ic_connstats_link_get ( struct icd_iap iap,
DBusMessage *  method_call 
) [static]

Get connection statistics for an IAP

Parameters:
iap IAP
method_call the method call requesting statistics

References icd_iap_get_link_stats(), icd_osso_ic_connstats_link_cb(), and icd_osso_ic_stats_data::request.

Referenced by icd_osso_ic_connstats().

static void icd_osso_ic_connstats_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]

Receive link post up statistics based on network type, attributes and id. Values are set to zero or NULL if statistics are not available or applicable

Parameters:
link_post_stats_cb_token token passed to the request function
network_type network type
network_attrs attributes, such as type of network_id, security, etc.
network_id network id
time_active time active, if applicable
signal signal level
station_id base station id, e.g. WLAN access point MAC address
dB raw signal strength; depends on the type of network
rx_bytes bytes received on the link, if applicable
tx_bytes bytes sent on the link, if applicable
private a reference to the icd_nw_api private memeber

References icd_iap_find(), icd_iap_get_ip_stats(), icd_osso_ic_connstats_error(), icd_osso_ic_connstats_ip_cb(), ILOG_ERR, ILOG_WARN, icd_osso_ic_stats_data::request, icd_osso_ic_stats_data::rx_bytes, icd_osso_ic_stats_data::station_id, icd_osso_ic_stats_data::time_active, and icd_osso_ic_stats_data::tx_bytes.

Referenced by icd_osso_ic_connstats_link_cb().

void icd_osso_ic_deinit ( void   ) 

Deinitialize OSSO IC API

Parameters:
icd_ctx icd context

References icd_dbus_disconnect_system_bcast_signal(), icd_dbus_unregister_system_service(), and icd_osso_ui_signal().

Referenced by icd_exec_shutdown().

static DBusMessage* icd_osso_ic_disconnect ( DBusMessage *  method_call,
void *  user_data 
) [static]

Disconnection requested by application

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
an D-Bus reply to the request

References ICD_NW_ATTR_IAPNAME, icd_osso_ic_get_type(), icd_request_cancel(), icd_request_find_by_iap(), icd_request_tracking_info_add(), icd_tracking_info_find(), ICD_TRACKING_INFO_ICD, icd_tracking_info_new(), icd_tracking_info_update(), and ILOG_ERR.

static icd_osso_ic_message_handler icd_osso_ic_find_handler ( DBusMessage *  msg,
struct icd_osso_ic_handler handlers 
) [static]

Search a handler function for given D-BUS message.

Parameters:
msg D-BUS message that needs handler.
handlers Pointer to list of handler functions and method descriptions.
Returns:
Pointer to handler function or NULL on error.

References icd_osso_ic_handler::handler, icd_osso_ic_handler::interface, icd_osso_ic_handler::method, and icd_osso_ic_handler::signature.

Referenced by icd_osso_ic_request(), and icd_osso_ui_signal().

static DBusMessage* icd_osso_ic_get_state ( DBusMessage *  method_call,
void *  user_data 
) [static]

Get state for all connections

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
an D-Bus reply to the request

References icd_osso_ic_get_state_foreach(), icd_request_foreach(), and ILOG_INFO.

static gpointer icd_osso_ic_get_state_foreach ( struct icd_request request,
gpointer  user_data 
) [static]

static gchar* icd_osso_ic_get_type ( const gchar *  iap_name  )  [static]

Helper function for fetching the IAP type from gconf

Parameters:
iap_name name of the IAP
Returns:
IAP type that is to be freed by the caller

References icd_gconf_get_iap_string(), and ICD_GCONF_IAP_TYPE.

Referenced by icd_osso_ic_connstats(), icd_osso_ic_disconnect(), icd_osso_ic_make_request(), icd_osso_ui_retry(), and icd_osso_ui_save().

gboolean icd_osso_ic_init ( struct icd_context icd_ctx  ) 

Initialize the OSSO IC API

Parameters:
icd_ctx icd context
Returns:
TRUE on success, FALSE on failure

References icd_dbus_connect_system_bcast_signal(), icd_dbus_register_system_service(), icd_dbus_unregister_system_service(), icd_osso_ic_request(), icd_osso_ui_signal(), ILOG_CRIT, and ILOG_DEBUG.

Referenced by main().

static DBusMessage* icd_osso_ic_ipinfo ( DBusMessage *  method_call,
void *  user_data 
) [static]

Get IPv4 address info for the latest connection

Parameters:
method_call the D-Bus request message
user_data user data
Returns:
an D-Bus reply to the request

References icd_osso_ic_ipdata::has_called, icd_osso_ic_ipdata::howmany, icd_iap_get_ipinfo(), icd_osso_ic_ipinfo_cb(), icd_osso_ic_ipinfo_get_first(), icd_request_foreach(), ILOG_DEBUG, ILOG_INFO, and icd_osso_ic_ipdata::request.

static void icd_osso_ic_ipinfo_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]

Receive IP address configuration information based on network type, attributes and id.

Parameters:
addr_info_cb_token token passed to the request function
network_type network type
network_attrs attributes, such as type of network_id, security, etc.
network_id IAP name or local id, e.g. SSID
private a reference to the icd_nw_api private memeber
ip_address IP address string or NULL if no such value
ip_netmask IP netmask string which or NULL if no such value
ip_gateway IP gateway string which or NULL if no such value
ip_dns1 DNS server IP address string or NULL if no such value
ip_dns2 DNS server IP address string or NULL if no such value
ip_dns3 DNS server IP address string or NULL if no such value
Returns:
TRUE if some of the values are returned, FALSE if no values assigned

References icd_osso_ic_ipdata::has_called, icd_osso_ic_ipdata::howmany, icd_dbus_send_system_msg(), icd_iap_find(), icd_osso_ic_connstats_error(), ILOG_DEBUG, ILOG_ERR, ILOG_WARN, and icd_osso_ic_ipdata::request.

Referenced by icd_osso_ic_ipinfo().

static gpointer icd_osso_ic_ipinfo_get_first ( struct icd_request request,
gpointer  user_data 
) [static]

Find the first connected request which has an iap that can give us ip address information

Parameters:
request request to examine
user_data ip data structure
Returns:
iap which returned ip data, NULL otherwise

References ICD_REQUEST_SUCCEEDED, ILOG_CRIT, ILOG_DEBUG, icd_request::state, and icd_request::try_iaps.

Referenced by icd_osso_ic_ipinfo().

static DBusMessage* icd_osso_ic_make_request ( struct icd_request merge_request,
struct icd_tracking_info track,
DBusMessage *  message,
const gchar *  requested_iap,
const guint  flags 
) [static]

Make a new request

Parameters:
merge_request request to merge with this one or NULL
track new tracking info or NULL
message the D-Bus request message to send errors to
requested_iap the requested IAP name
flags ICD_POLICY_ATTRIBUTE_* flags to add to the request
Returns:
a D-Bus error on failure, NULL on success

References ICD_NW_ATTR_IAPNAME, icd_osso_ic_get_type(), icd_request_make(), icd_request_merge(), icd_request_new(), icd_request_tracking_info_add(), icd_wlan_defs_get_secmode(), icd_wlan_defs_is_wlan(), and ILOG_ERR.

Referenced by icd_osso_ic_activate(), and icd_osso_ic_connect().

static DBusHandlerResult icd_osso_ic_request ( DBusConnection *  connection,
DBusMessage *  message,
void *  user_data 
) [static]

Callback function for OSSO IC API requests

Parameters:
connection the D-Bus connection
message the D-Bus message
user_data user data
Returns:
DBUS_HANDLER_RESULT_HANDLED

References icd_osso_ic_handler::handler, icd_dbus_send_system_msg(), icd_osso_ic_find_handler(), and ILOG_INFO.

Referenced by icd_osso_ic_init().

void icd_osso_ic_send_ack ( GSList *  tracking_list,
const gchar *  iap_name 
)

Send acks for connect and disconnect requests

Parameters:
tracking_list list of applications to track
iap_name iap name to return to the application

References icd_dbus_send_system_msg(), ICD_TRACKING_INFO_ICD, ILOG_CRIT, ILOG_INFO, icd_tracking_info::interface, icd_tracking_info::request, and icd_tracking_info::sender.

Referenced by icd_request_send_ack().

void icd_osso_ic_send_nack ( GSList *  tracking_list  ) 

Send nacks for connect and disconnect requests; free tracking info

Parameters:
tracking_list list of applications to track

References icd_dbus_send_system_msg(), ICD_TRACKING_INFO_ICD, ILOG_CRIT, ILOG_INFO, icd_tracking_info::interface, icd_tracking_info::request, and icd_tracking_info::sender.

Referenced by icd_request_send_nack().

static DBusMessage* icd_osso_ic_shutdown ( DBusMessage *  request,
void *  user_data 
) [static]

Connection disconnection requested by Connectivity UIs; request disconnect confirmation

Parameters:
request the D-Bus request message
user_data user data
Returns:
an D-Bus reply to the request

References icd_dbus_send_system_mcall(), icd_osso_ic_ui_pending(), ICD_OSSO_UI_REQUEST_TIMEOUT, ILOG_ERR, ILOG_WARN, icd_osso_ic_mcall_data::mcall_name, and icd_osso_ic_mcall_data::pending_call.

static void icd_osso_ic_ui_pending ( DBusPendingCall *  pending,
void *  user_data 
) [static]

Generic pending call callback that prints out wheter the UI D-Bus request succeeded or not

Parameters:
pending the pending call
user_data the requested UI D-Bus method call

References icd_osso_ic_mcall_data::cb, ILOG_DEBUG, icd_osso_ic_mcall_data::mcall_name, icd_osso_ic_mcall_data::pending_call, and icd_osso_ic_mcall_data::user_data.

Referenced by icd_osso_ic_shutdown(), icd_osso_ui_send_retry(), and icd_osso_ui_send_save().

static DBusMessage* icd_osso_ui_disconnect ( DBusMessage *  signal,
void *  user_data 
) [static]

Disconnect received from UI; disconnect the last request as this way we can cancel a new connecting connection

Parameters:
signal the D-Bus request message
user_data not used
Returns:
NULL, as there received signal does not need a reply

References icd_context_get(), icd_ctx, ICD_POLICY_ATTRIBUTE_CONN_UI, icd_request_cancel(), ILOG_INFO, ILOG_WARN, and icd_context::request_list.

static DBusMessage* icd_osso_ui_retry ( DBusMessage *  signal,
void *  user_data 
) [static]

static DBusMessage* icd_osso_ui_save ( DBusMessage *  signal,
void *  user_data 
) [static]

Save connection received from the UI

Parameters:
signal the D-Bus request message
user_data not used
Returns:
NULL, as there received signal does not need a reply

References icd_iap_find(), icd_iap_rename(), ICD_NW_ATTR_IAPNAME, icd_osso_ic_get_type(), ILOG_DEBUG, and ILOG_WARN.

void icd_osso_ui_send_retry ( const gchar *  iap_name,
const gchar *  error,
icd_osso_ui_cb_fn  cb,
gpointer  user_data 
)

Request UI to show a retry dialog

Parameters:
iap_name name of the IAP to retry
error ICD_DBUS_ERROR_* error string
cb callback function
user_data callback user data

References icd_osso_ic_mcall_data::cb, icd_dbus_send_system_mcall(), icd_osso_ic_ui_pending(), ICD_OSSO_UI_REQUEST_TIMEOUT, ILOG_ERR, ILOG_WARN, icd_osso_ic_mcall_data::mcall_name, icd_osso_ic_mcall_data::pending_call, and icd_osso_ic_mcall_data::user_data.

Referenced by icd_request_try_iap_cb().

gpointer icd_osso_ui_send_save ( const gchar *  iap_name,
icd_osso_ui_cb_fn  cb,
gpointer  user_data 
)

Request the UI to show a save dialog

Parameters:
iap_name name of the IAP to save
cb callback function
user_data callback user data
Returns:
opaque token that can be used to cancel the save dialog request

References icd_osso_ic_mcall_data::cb, icd_dbus_send_system_mcall(), icd_osso_ic_ui_pending(), ICD_OSSO_UI_REQUEST_TIMEOUT, ILOG_ERR, ILOG_WARN, icd_osso_ic_mcall_data::mcall_name, icd_osso_ic_mcall_data::pending_call, and icd_osso_ic_mcall_data::user_data.

Referenced by icd_iap_post_up_script_done().

void icd_osso_ui_send_save_cancel ( gpointer  send_save_token  ) 

Cancel save dialog pending call

Parameters:
send_save_token the opaque token returned from icd_osso_ui_send_save()

References icd_osso_ic_mcall_data::pending_call.

Referenced by icd_iap_disconnect().

static DBusHandlerResult icd_osso_ui_signal ( DBusConnection *  connection,
DBusMessage *  message,
void *  user_data 
) [static]

UI signal handler

Parameters:
connection The D-Bus connection
message D-Bus message
user_data user data

References icd_osso_ic_handler::handler, icd_osso_ic_find_handler(), ILOG_ERR, and ILOG_INFO.

Referenced by icd_osso_ic_deinit(), and icd_osso_ic_init().


Variable Documentation

Initial value:

 {
  { ICD_DBUS_INTERFACE, ICD_ACTIVATE_REQ, "s", icd_osso_ic_activate },
  { ICD_DBUS_INTERFACE, ICD_SHUTDOWN_REQ, "", icd_osso_ic_shutdown },
  { ICD_DBUS_INTERFACE, ICD_CONNECT_REQ, "su", icd_osso_ic_connect },
  { ICD_DBUS_INTERFACE, ICD_DISCONNECT_REQ, "s", icd_osso_ic_disconnect },
  { ICD_DBUS_INTERFACE, ICD_GET_IPINFO_REQ, "", icd_osso_ic_ipinfo },
  { ICD_DBUS_INTERFACE, ICD_GET_STATISTICS_REQ, "", icd_osso_ic_connstats },
  { ICD_DBUS_INTERFACE, ICD_GET_STATISTICS_REQ, "s", icd_osso_ic_connstats },
  { ICD_DBUS_INTERFACE, ICD_GET_STATE_REQ, "", icd_osso_ic_get_state },
  { ICD_DBUS_INTERFACE, "background_killing_application", "ss",
    icd_osso_ic_bg_killed },
  { NULL }
}
OSSO IC API method call handlers

Initial value:

 {
  { ICD_UI_DBUS_INTERFACE, ICD_UI_DISCONNECT_SIG, "b",
    icd_osso_ui_disconnect },
  { ICD_UI_DBUS_INTERFACE, ICD_UI_RETRY_SIG, "sb", icd_osso_ui_retry },
  { ICD_UI_DBUS_INTERFACE, ICD_UI_RETRY_SIG, "sbb", icd_osso_ui_retry },
  { ICD_UI_DBUS_INTERFACE, ICD_UI_SAVE_SIG, "ss", icd_osso_ui_save },
  { NULL }
}
UI signal handlers


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