Unit msedbus
Uses
Description
Overview
Classes, Interfaces, Objects and Records
Name | Description |
---|---|
Record va_list |
|
Record DBusError |
|
Record DBusMessageIter |
|
Record DBusConnection |
|
Record DBusMessage |
|
Record DBusWatch |
|
Record DBusTimeout |
|
Record DBusPendingCall |
|
Record DBusObjectPathVTable |
Functions and Procedures
function initializedbus(const sonames: array of filenamety; const onlyonce: boolean = false): boolean; |
procedure releasedbus(); |
Types
Constants
Variables
Description
Functions and Procedures
function initializedbus(const sonames: array of filenamety; const onlyonce: boolean = false): boolean; |
procedure releasedbus(); |
Types
dbus_int64_t = int64; |
dbus_uint64_t = uint64; |
dbus_int32_t = int32; |
pdbus_uint32_t = ˆdbus_uint32_t; |
dbus_uint32_t = uint32; |
dbus_int16_t = int16; |
dbus_uint16_t = uint16; |
size_t = uint32; |
dbus_unichar_t = dbus_uint32_t; |
dbus_bool_t = dbus_uint32_t; |
pdbus_bool_t = ˆdbus_bool_t; |
pva_list = ˆva_list; |
DBusDispatchStatus = (...); |
Values
|
pDBusError = ˆDBusError; |
pDBusMessageIter = ˆDBusMessageIter; |
pDBusConnection = ˆDBusConnection; |
pDBusMessage = ˆDBusMessage; |
pDBusWatch = ˆDBusWatch; |
pDBusTimeout = ˆDBusTimeout; |
pDBusPendingCall = ˆDBusPendingCall; |
ppDBusPendingCall = ˆpDBusPendingCall; |
DBusHandlerResult = (...); |
Values
|
DBusHandleMessageFunction = function(connection: pDBusConnection; message: pDBusMessage; user_data: pointer): DBusHandlerResult cdecl; |
DBusObjectPathMessageFunction = function(connection: pDBusConnection; message: pDBusMessage; user_data: pointer): DBusHandlerResult cdecl; |
DBusObjectPathUnregisterFunction = procedure(connection: pDBusConnection; user_data: pointer) cdecl; |
pDBusObjectPathVTable = ˆDBusObjectPathVTable; |
DBusBusType = (...); |
Values
|
DBusFreeFunction = procedure(memory: pointer) cdecl; |
DBusAddWatchFunction = function(watch: pDBusWatch; data: pointer): dbus_bool_t cdecl; |
DBusWatchToggledFunction = procedure(watch: pDBusWatch; data: pointer) cdecl; |
DBusRemoveWatchFunction = procedure(watch: pDBusWatch; data: pointer) cdecl; |
DBusAddTimeoutFunction = function(timeout: pDBusTimeout; data: pointer): dbus_bool_t cdecl; |
DBusTimeoutToggledFunction = procedure(timeout: pDBusTimeout; data: pointer) cdecl; |
DBusRemoveTimeoutFunction = procedure(timeout: pDBusTimeout; data: pointer) cdecl; |
DBusPendingCallNotifyFunction = procedure(pending: pDBusPendingCall; user_data: pointer) cdecl; |
Constants
dbuslib: array[0..1] of filenamety = ('libdbus-1.so','libdbus-1.so.3'); |
DBUS_MESSAGE_TYPE_INVALID = 0; |
DBUS_MESSAGE_TYPE_METHOD_CALL = 1; |
DBUS_MESSAGE_TYPE_METHOD_RETURN = 2; |
DBUS_MESSAGE_TYPE_ERROR = 3; |
DBUS_MESSAGE_TYPE_SIGNAL = 4; |
DBUS_NUM_MESSAGE_TYPES = 5; |
DBUS_TYPE_INVALID = cint(0); |
DBUS_TYPE_INVALID_AS_STRING = cchar(#0); |
DBUS_TYPE_BYTE = cint('y'); |
DBUS_TYPE_BYTE_AS_STRING = 'y'; |
DBUS_TYPE_BOOLEAN = cint('b'); |
DBUS_TYPE_BOOLEAN_AS_STRING = 'b'; |
DBUS_TYPE_INT16 = cint('n'); |
DBUS_TYPE_INT16_AS_STRING = 'n'; |
DBUS_TYPE_UINT16 = cint('q'); |
DBUS_TYPE_UINT16_AS_STRING = 'q'; |
DBUS_TYPE_INT32 = cint('i'); |
DBUS_TYPE_INT32_AS_STRING = 'i'; |
DBUS_TYPE_UINT32 = cint('u'); |
DBUS_TYPE_UINT32_AS_STRING = 'u'; |
DBUS_TYPE_INT64 = cint('x'); |
DBUS_TYPE_INT64_AS_STRING = 'x'; |
DBUS_TYPE_UINT64 = cint('t'); |
DBUS_TYPE_UINT64_AS_STRING = 't'; |
DBUS_TYPE_DOUBLE = cint('d'); |
DBUS_TYPE_DOUBLE_AS_STRING = 'd'; |
DBUS_TYPE_STRING = cint('s'); |
DBUS_TYPE_STRING_AS_STRING = 's'; |
DBUS_TYPE_OBJECT_PATH = cint('o'); |
DBUS_TYPE_OBJECT_PATH_AS_STRING = 'o'; |
DBUS_TYPE_SIGNATURE = cint('g'); |
DBUS_TYPE_SIGNATURE_AS_STRING = 'g'; |
DBUS_TYPE_UNIX_FD = cint('h'); |
DBUS_TYPE_UNIX_FD_AS_STRING = 'h'; |
DBUS_TYPE_ARRAY = cint('a'); |
DBUS_TYPE_ARRAY_AS_STRING = 'a'; |
DBUS_TYPE_VARIANT = cint('v'); |
DBUS_TYPE_VARIANT_AS_STRING = 'v'; |
DBUS_TYPE_STRUCT = cint('r'); |
DBUS_TYPE_STRUCT_AS_STRING = 'r'; |
DBUS_TYPE_DICT_ENTRY = cint('e'); |
DBUS_TYPE_DICT_ENTRY_AS_STRING = 'e'; |
DBUS_NAME_FLAG_ALLOW_REPLACEMENT = $1; |
DBUS_NAME_FLAG_REPLACE_EXISTING = $2; |
DBUS_NAME_FLAG_DO_NOT_QUEUE = $4; |
DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER = 1; |
DBUS_REQUEST_NAME_REPLY_IN_QUEUE = 2; |
DBUS_REQUEST_NAME_REPLY_EXISTS = 3; |
DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER = 4; |
DBUS_TIMEOUT_INFINITE = cint($7fffffff); |
DBUS_TIMEOUT_USE_DEFAULT = cint(-1); |
DBUS_WATCH_READABLE = 1 shl 0; |
DBUS_WATCH_WRITABLE = 1 shl 1; |
DBUS_WATCH_ERROR = 1 shl 2; |
DBUS_WATCH_HANGUP = 1 shl 3; |
Variables
dbus_bus_get:
function(type_: DBusBusType; error: PDBusError): PDBusConnection cdecl; |
dbus_bus_get_private:
function(type_: DBusBusType; error: PDBusError): PDBusConnection cdecl; |
dbus_connection_close: procedure(connection: pDBusConnection) cdecl; |
dbus_shutdown: procedure() cdecl; |
dbus_connection_set_watch_functions:
function(connection: pDBusConnection; add_function: DBusAddWatchFunction; remove_function: DBusRemoveWatchFunction; toggled_function: DBusWatchToggledFunction; data: pointer; free_data_function: DBusFreeFunction): dbus_bool_t cdecl; |
dbus_connection_set_timeout_functions:
function(connection: pDBusConnection; add_function: DBusAddTimeoutFunction; remove_function: DBusRemoveTimeoutFunction; toggled_function: DBusTimeoutToggledFunction; data: pointer; free_data_function: DBusFreeFunction): dbus_bool_t cdecl; |
dbus_connection_add_filter:
function(connection: pDBusConnection; function_: DBusHandleMessageFunction; user_data: pointer; free_data_function: DBusFreeFunction): dbus_bool_t cdecl; |
dbus_connection_remove_filter:
procedure(connection: pDBusConnection; function_: DBusHandleMessageFunction; user_data: pointer); cdecl; |
dbus_connection_try_register_object_path:
function(cionnection: pDBusConnection; path: pchar; vtable: pDBusObjectPathVTable; user_data: pointer; error: pDBusError): dbus_bool_t cdecl; |
dbus_connection_unregister_object_path:
function(connection: pDBusConnection; path: pcchar): dbus_bool_t cdecl; |
dbus_connection_try_register_fallback:
function(connection: pDBusConnection; path: pcchar; vtable: pDBusObjectPathVTable; user_data: pointer; error: pDBusError): dbus_bool_t cdecl; |
dbus_watch_get_unix_fd: function(watch: pDBusWatch): cint cdecl; |
dbus_watch_get_socket: function(watch: pDBusWatch): cint cdecl; |
dbus_watch_get_flags: function(watch: pDBusWatch): cuint cdecl; |
dbus_watch_get_data: function(watch: pDBusWatch): pointer cdecl; |
dbus_watch_set_data: procedure(watch: pDBusWatch; data: pointer; free_data_function: DBusFreeFunction) cdecl; |
dbus_watch_handle: function(watch: pDBusWatch; flags: cuint): dbus_bool_t cdecl; |
dbus_watch_get_enabled: function(watch: pDBusWatch): dbus_bool_t cdecl; |
dbus_timeout_get_interval: function(timeout: pDBusTimeout): cint cdecl; |
dbus_timeout_get_data: function(timeout: pDBusTimeout): pointer cdecl; |
dbus_timeout_set_data: procedure(timeout: pDBusTimeout; data: pointer; free_data_function: DBusFreeFunction) cdecl; |
dbus_timeout_handle: function(timeout: pDBusTimeout): dbus_bool_t cdecl; |
dbus_timeout_get_enabled: function(timeout: pDBusTimeout): dbus_bool_t cdecl; |
dbus_timeout_needs_restart: function(timeout: pDBusTimeout): dbus_bool_t cdecl; |
dbus_timeout_restarted: procedure(timeout: pDBusTimeout) cdecl; |
dbus_error_init: procedure(error: pDBusError) cdecl; |
dbus_error_free: procedure(error: pDBusError) cdecl; |
dbus_error_is_set: function(error: pDBusError): dbus_bool_t cdecl; |
dbus_connection_set_exit_on_disconnect:
procedure(connection: pDBusConnection; exit_on_disconnect: dbus_bool_t) cdecl; |
dbus_bus_get_unique_name: function(connection: pDBusConnection): pcchar cdecl; |
dbus_bus_request_name:
function(connection: PDBusConnection; name: pcchar; flags: cuint; error: pDBusError): cint cdecl; |
dbus_message_new_method_call:
function(bus_name: pcchar; path: pcchar; iface: pcchar; method: pcchar): pDBusMessage cdecl; |
dbus_message_new_method_return:
function(method_call: pDBusMessage): pDBusMessage cdecl; |
dbus_message_new_signal:
function(path: pchar; iface: pchar; name: pcchar): pDBusMessage cdecl; |
dbus_message_new_error:
function(reply_to: pDBusMessage; error_name: pcchar; error_message: pcchar): pDBusMessage cdecl; |
dbus_message_unref: procedure(message: pDBusMessage) cdecl; |
dbus_message_get_type: function(message: pDBusMessage): cint cdecl; |
dbus_message_set_path: function(message:pDBusMessage; object_path: pcchar): dbus_bool_t cdecl; |
dbus_message_get_path: function(message: pDBusMessage): pcchar cdecl; |
dbus_message_set_interface:
function(message: pDBusMessage; iface: pcchar): dbus_bool_t cdecl; |
dbus_message_get_interface: function(message: pDBusMessage): pcchar cdecl; |
dbus_message_set_member:
function(message: pDBusMessage; member: pcchar): dbus_bool_t cdecl; |
dbus_message_get_member: function(message: pDBusMessage): pcchar; cdecl; |
dbus_message_set_error_name:
function(message: pDBusMessage; name: pcchar): dbus_bool_t cdecl; |
dbus_message_get_error_name:
function(message: pDBusMessage): pcchar; cdecl; |
dbus_message_set_destination:
function(message: pDBusMessage; destination: pchar): dbus_bool_t cdecl; |
dbus_message_get_destination: function(message: pDBusMessage): pchar cdecl; |
dbus_message_set_sender:
function(msessage: pDBusMessage; sender: pcchar): dbus_bool_t cdecl; |
dbus_message_get_sender: function(message: pDBusMessage): pcchar cdecl; |
dbus_message_get_signature: function(message: pDBusMessage): pchar cdecl; |
dbus_message_set_no_reply:
procedure(message: pDBusMessage; no_reply: dbus_bool_t) cdecl; |
dbus_message_get_no_reply: function(message: pDBusMessage): dbus_bool_t cdecl; |
dbus_message_iter_init_append:
procedure(message: pDBusMessage; iter: pDBusMessageIter) cdecl; |
dbus_message_iter_init:
function(message: pDBusMessage; iter: pDBusMessageIter): dbus_bool_t cdecl; |
dbus_message_append_args_valist:
function(message: pDBusMessage; first_arg_type: cint; var_args: pva_list): dbus_bool_t cdecl; |
dbus_message_iter_append_basic:
function(iter: pDBusMessageIter; type_: cint; value: pointer): dbus_bool_t cdecl; |
dbus_message_iter_append_fixed_array:
function(iter: pDBusMessageIter; element_type: cint; value: pointer; n_elements: cint): dbus_bool_t cdecl; |
dbus_message_iter_next: function(iter: pDBusMessageIter): dbus_bool_t cdecl; |
dbus_message_iter_get_arg_type: function(iter: pDBusMessageIter): cint cdecl; |
dbus_message_iter_get_basic: procedure(iter: pDBusMessageIter; value: pointer) cdecl; |
dbus_message_iter_open_container:
function(iter: pDBusMessageIter; type_: cint; const contained_signature: pcchar; sub: pDBusMessageIter): dbus_bool_t cdecl; |
dbus_message_iter_close_container:
function(iter: pDBusMessageIter; sub: pDBusMessageIter): dbus_bool_t cdecl; |
dbus_message_iter_abandon_container:
procedure(iter: pDBusMessageIter; sub: pDBusMessageIter); cdecl; |
dbus_message_iter_recurse:
procedure(iter: pDBusMessageIter; sub: pDBusMessageIter) cdecl; |
dbus_message_iter_get_element_type: function(iter: pDBusMessageIter): cint cdecl; |
dbus_message_iter_get_fixed_array:
procedure(iter: pDBusMessageIter; value: pointer; n_elements: pcint) cdecl; |
dbus_connection_send_with_reply_and_block:
function(connection: pDBusConnection; message: pDBusMessage; timeout_milliseconds: cint; error: pDBusError): pDBusMessage cdecl; |
dbus_connection_send_with_reply:
function(connection: pDBusConnection; message: pDBusMessage; pending_return: ppDBusPendingCall; timeout_milliseconds: cint): dbus_bool_t cdecl; |
dbus_connection_send:
function(connection: pDBusConnection; message: pDBusMessage; client_serial: pdbus_uint32_t): dbus_bool_t cdecl; |
dbus_connection_flush: procedure(connection: pDBusConnection) cdecl; |
dbus_connection_dispatch:
function(connection: pDBusConnection): DBusDispatchStatus cdecl; |
dbus_pending_call_unref: procedure(pending: pDBusPendingCall) cdecl; |
dbus_pending_call_set_notify:
function(pending: pDBusPendingCall; function_: DBusPendingCallNotifyFunction; user_data: pointer; free_user_data: DBusFreeFunction): dbus_bool_t cdecl; |
dbus_pending_call_steal_reply:
function(pending: pDBusPendingCall): pDBusMessage cdecl; |
dbus_bus_add_match:
procedure(connection: pDBusConnection; rule: pcchar; error: pDBusError) cdecl; |
dbus_bus_remove_match:
procedure(connection: pDBusConnection; rule: pcchar; error: pDBusError) cdecl; |
Generated by PasDoc 0.16.0.