Functions | |
void | dbus_connection_setup_with_g_main (DBusConnection *connection, GMainContext *context) |
Sets the watch and timeout functions of a DBusConnection to integrate the connection with the GLib main loop. | |
void | dbus_server_setup_with_g_main (DBusServer *server, GMainContext *context) |
Sets the watch and timeout functions of a DBusServer to integrate the server with the GLib main loop. | |
G_BEGIN_DECLS void | dbus_gthread_init (void) |
Initializes the D-BUS thread system to use GLib threads. |
Convenience functions are provided for using D-BUS with the GLib library (see http://www.gtk.org for GLib information).
|
Sets the watch and timeout functions of a DBusConnection to integrate the connection with the GLib main loop. Pass in NULL for the #GMainContext unless you're doing something specialized.
Definition at line 442 of file dbus-gmain.c. References dbus_connection_allocate_data_slot(), dbus_connection_set_data(), dbus_connection_set_timeout_functions(), dbus_connection_set_wakeup_main_function(), and dbus_connection_set_watch_functions(). |
|
Initializes the D-BUS thread system to use GLib threads. This function may only be called once and must be called prior to calling any other function in the D-BUS API. Definition at line 168 of file dbus-gthread.c. References dbus_threads_init(). |
|
Sets the watch and timeout functions of a DBusServer to integrate the server with the GLib main loop. In most cases the context argument should be NULL.
Definition at line 495 of file dbus-gmain.c. References dbus_server_allocate_data_slot(), dbus_server_set_data(), dbus_server_set_timeout_functions(), and dbus_server_set_watch_functions(). |