Data Structures | |
struct | DBusMessageHandler |
Internals of DBusMessageHandler. More... | |
Functions | |
dbus_bool_t | _dbus_message_handler_add_connection (DBusMessageHandler *handler, DBusConnection *connection) |
Add this connection to the list used by this message handler. | |
void | _dbus_message_handler_remove_connection (DBusMessageHandler *handler, DBusConnection *connection) |
Reverses the effect of _dbus_message_handler_add_connection(). | |
DBusHandlerResult | _dbus_message_handler_handle_message (DBusMessageHandler *handler, DBusConnection *connection, DBusMessage *message) |
Handles the given message, by dispatching the handler function for this DBusMessageHandler, if any. |
The guts of DBusMessageHandler and its methods.
|
Add this connection to the list used by this message handler. When the message handler goes away, the connection will be notified.
Definition at line 69 of file dbus-message-handler.c. References _dbus_list_prepend(), _DBUS_LOCK, _DBUS_UNLOCK, dbus_bool_t, FALSE, and TRUE. Referenced by dbus_connection_add_filter(), dbus_connection_register_handler(), and dbus_connection_send_with_reply(). |
|
Handles the given message, by dispatching the handler function for this DBusMessageHandler, if any.
Definition at line 115 of file dbus-message-handler.c. References _DBUS_LOCK, _DBUS_UNLOCK, and NULL. Referenced by dbus_connection_dispatch(). |
|
Reverses the effect of _dbus_message_handler_add_connection().
Definition at line 94 of file dbus-message-handler.c. References _dbus_list_remove(), _DBUS_LOCK, _DBUS_UNLOCK, and _dbus_warn(). Referenced by dbus_connection_add_filter(), dbus_connection_remove_filter(), and dbus_connection_unregister_handler(). |