#include <stdapis/dbus-1.0/dbus/dbus-connection.h>
typedef struct DBusPreallocatedSend | DBusPreallocatedSend |
Opaque type representing preallocated resources so a message can be sent without further memory allocation.
typedef struct DBusPendingCall | DBusPendingCall |
Opaque type representing a method call that has not yet received a reply.
typedef struct DBusConnection | DBusConnection |
Opaque type representing a connection to a remote application and associated incoming/outgoing message queues.
typedef struct DBusObjectPathVTable | DBusObjectPathVTable |
Set of functions that must be implemented to handle messages sent to a particular object path.
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 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 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 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 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 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 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 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 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 void(* | DBusPendingCallNotifyFunction |
Called when a pending call now has a reply available. Set with dbus_pending_call_set_notify().
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 void(* | DBusObjectPathUnregisterFunction |
Called when a DBusObjectPathVTable is unregistered (or its connection is freed). Found in DBusObjectPathVTable.
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().