dbus-connection.h File Reference

#include <stdapis/dbus-1.0/dbus/dbus-connection.h>

Typedef DBusWatch

typedef struct DBusWatchDBusWatch

Typedef DBusTimeout

typedef struct DBusTimeoutDBusTimeout

Typedef DBusPreallocatedSend

typedef struct DBusPreallocatedSendDBusPreallocatedSend

Opaque type representing preallocated resources so a message can be sent without further memory allocation.

Typedef DBusPendingCall

typedef struct DBusPendingCallDBusPendingCall

Opaque type representing a method call that has not yet received a reply.

Typedef DBusConnection

typedef struct DBusConnectionDBusConnection

Opaque type representing a connection to a remote application and associated incoming/outgoing message queues.

Typedef DBusObjectPathVTable

typedef struct DBusObjectPathVTableDBusObjectPathVTable

Set of functions that must be implemented to handle messages sent to a particular object path.

Typedef DBusAddWatchFunction

typedef dbus_bool_t(*DBusAddWatchFunction

Called when libdbus needs a new watch to be monitored by the main loop. Returns FALSE if it lacks enough memory to add the watch. Set by dbus_connection_set_watch_functions() or dbus_server_set_watch_functions().

Typedef DBusWatchToggledFunction

typedef void(*DBusWatchToggledFunction

Called when dbus_watch_get_enabled() may return a different value than it did before. Set by dbus_connection_set_watch_functions() or dbus_server_set_watch_functions().

Typedef DBusRemoveWatchFunction

typedef void(*DBusRemoveWatchFunction

Called when libdbus no longer needs a watch to be monitored by the main loop. Set by dbus_connection_set_watch_functions() or dbus_server_set_watch_functions().

Typedef DBusAddTimeoutFunction

typedef dbus_bool_t(*DBusAddTimeoutFunction

Called when libdbus needs a new timeout to be monitored by the main loop. Returns FALSE if it lacks enough memory to add the watch. Set by dbus_connection_set_timeout_functions() or dbus_server_set_timeout_functions().

Typedef DBusTimeoutToggledFunction

typedef void(*DBusTimeoutToggledFunction

Called when dbus_timeout_get_enabled() may return a different value than it did before. Set by dbus_connection_set_timeout_functions() or dbus_server_set_timeout_functions().

Typedef DBusRemoveTimeoutFunction

typedef void(*DBusRemoveTimeoutFunction

Called when libdbus no longer needs a timeout to be monitored by the main loop. Set by dbus_connection_set_timeout_functions() or dbus_server_set_timeout_functions().

Typedef DBusDispatchStatusFunction

typedef void(*DBusDispatchStatusFunction

Called when the return value of dbus_connection_get_dispatch_status() may have changed. Set with dbus_connection_set_dispatch_status_function().

Typedef DBusWakeupMainFunction

typedef void(*DBusWakeupMainFunction

Called when the main loop's thread should be notified that there's now work to do. Set with dbus_connection_set_wakeup_main_function().

Typedef DBusAllowUnixUserFunction

typedef dbus_bool_t(*DBusAllowUnixUserFunction

Called during authentication on UNIX systems to check whether the given user ID is allowed to connect. Never called on Windows. Set with dbus_connection_set_unix_user_function().

Typedef DBusPendingCallNotifyFunction

typedef void(*DBusPendingCallNotifyFunction

Called when a pending call now has a reply available. Set with dbus_pending_call_set_notify().

Typedef DBusHandleMessageFunction

typedef DBusHandlerResult(*DBusHandleMessageFunction

Called when a message needs to be handled. The result indicates whether or not more handlers should be run. Set with dbus_connection_add_filter().

Typedef DBusObjectPathUnregisterFunction

typedef void(*DBusObjectPathUnregisterFunction

Called when a DBusObjectPathVTable is unregistered (or its connection is freed). Found in DBusObjectPathVTable.

Typedef DBusObjectPathMessageFunction

typedef DBusHandlerResult(*DBusObjectPathMessageFunction

Called when a message is sent to a registered object path. Found in DBusObjectPathVTable which is registered with dbus_connection_register_object_path() or dbus_connection_register_fallback().