#include <glib/gtypes.h>
Include dependency graph for rpc-ic.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef void(* | ICConnectedNotifyCb )(gpointer user_data) |
ICDConnectedNotifyCb: : user data set when the signal handler was connected. | |
Functions | |
gboolean | ic_get_connected (void) |
ic_get_connected: | |
void | ic_wait_connection (ICConnectedNotifyCb cb, gpointer user_data) |
ic_wait_connection: : Callback to call when a connection is established. | |
void | ic_unwait_connection (ICConnectedNotifyCb cb, gpointer user_data) |
ic_unwait_connection: : Callback that should be removed. |
|
ICDConnectedNotifyCb: : user data set when the signal handler was connected. Callback to be called when a connection is connected. |
|
ic_get_connected: Gets the connection status from ic. Returns: TRUE if there is an active connection. Definition at line 66 of file rpc-ic.c. References _ic_get_connected_bus(), conn, DEBUG, ENTER_FUNC, get_dbus_connection(), and LEAVE_FUNC. Referenced by _alarmd_action_dialog_run(). |
|
ic_unwait_connection: : Callback that should be removed. : user daata for callback that should be removed. Stopds waiting for internet connection for given callback and data. Definition at line 127 of file rpc-ic.c. References _ic_connected(), _ICNotify::cb, connection_notifies, ENTER_FUNC, ICD_CONNECTED_SIGNAL, LEAVE_FUNC, notify_mutex, system_bus, and _ICNotify::user_data. Referenced by _alarmd_action_dialog_finalize(). |
|
ic_wait_connection: : Callback to call when a connection is established. : User data to pass to the . Waits for internet connection and calls cb when one comes. Definition at line 87 of file rpc-ic.c. References _ic_connected(), _ic_get_connected_bus(), _ICNotify::cb, connection_notifies, DEBUG, ENTER_FUNC, get_dbus_connection(), ICD_CONNECTED_SIGNAL, LEAVE_FUNC, notify_mutex, system_bus, and _ICNotify::user_data. Referenced by _alarmd_action_dialog_run(). |