[Linux] Load dbus libraries dynamically.

This commit is contained in:
bruvzg 2022-07-29 11:19:06 +03:00
parent 9869182e8a
commit f973069afb
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38
6 changed files with 3626 additions and 4 deletions

View File

@ -32,6 +32,9 @@ if env["fontconfig"]:
if env["udev"]:
common_linuxbsd.append("libudev-so_wrap.c")
if env["dbus"]:
common_linuxbsd.append("dbus-so_wrap.c")
prog = env.add_program("#bin/godot", ["godot_linuxbsd.cpp"] + common_linuxbsd)
if env["debug_symbols"] and env["separate_debug_symbols"]:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,970 @@
#ifndef DYLIBLOAD_WRAPPER_DBUS
#define DYLIBLOAD_WRAPPER_DBUS
// This file is generated. Do not edit!
// see https://github.com/hpvb/dynload-wrapper for details
// generated by ./generate-wrapper.py 0.3 on 2022-07-29 07:23:21
// flags: ./generate-wrapper.py --include /usr/include/dbus-1.0/dbus/dbus.h --sys-include <dbus/dbus.h> --soname libdbus-1.so --init-name dbus --output-header dbus-so_wrap.h --output-implementation dbus-so_wrap.c
//
#include <stdint.h>
#define dbus_error_init dbus_error_init_dylibloader_orig_dbus
#define dbus_error_free dbus_error_free_dylibloader_orig_dbus
#define dbus_set_error dbus_set_error_dylibloader_orig_dbus
#define dbus_set_error_const dbus_set_error_const_dylibloader_orig_dbus
#define dbus_move_error dbus_move_error_dylibloader_orig_dbus
#define dbus_error_has_name dbus_error_has_name_dylibloader_orig_dbus
#define dbus_error_is_set dbus_error_is_set_dylibloader_orig_dbus
#define dbus_parse_address dbus_parse_address_dylibloader_orig_dbus
#define dbus_address_entry_get_value dbus_address_entry_get_value_dylibloader_orig_dbus
#define dbus_address_entry_get_method dbus_address_entry_get_method_dylibloader_orig_dbus
#define dbus_address_entries_free dbus_address_entries_free_dylibloader_orig_dbus
#define dbus_address_escape_value dbus_address_escape_value_dylibloader_orig_dbus
#define dbus_address_unescape_value dbus_address_unescape_value_dylibloader_orig_dbus
#define dbus_malloc dbus_malloc_dylibloader_orig_dbus
#define dbus_malloc0 dbus_malloc0_dylibloader_orig_dbus
#define dbus_realloc dbus_realloc_dylibloader_orig_dbus
#define dbus_free dbus_free_dylibloader_orig_dbus
#define dbus_free_string_array dbus_free_string_array_dylibloader_orig_dbus
#define dbus_shutdown dbus_shutdown_dylibloader_orig_dbus
#define dbus_message_new dbus_message_new_dylibloader_orig_dbus
#define dbus_message_new_method_call dbus_message_new_method_call_dylibloader_orig_dbus
#define dbus_message_new_method_return dbus_message_new_method_return_dylibloader_orig_dbus
#define dbus_message_new_signal dbus_message_new_signal_dylibloader_orig_dbus
#define dbus_message_new_error dbus_message_new_error_dylibloader_orig_dbus
#define dbus_message_new_error_printf dbus_message_new_error_printf_dylibloader_orig_dbus
#define dbus_message_copy dbus_message_copy_dylibloader_orig_dbus
#define dbus_message_ref dbus_message_ref_dylibloader_orig_dbus
#define dbus_message_unref dbus_message_unref_dylibloader_orig_dbus
#define dbus_message_get_type dbus_message_get_type_dylibloader_orig_dbus
#define dbus_message_set_path dbus_message_set_path_dylibloader_orig_dbus
#define dbus_message_get_path dbus_message_get_path_dylibloader_orig_dbus
#define dbus_message_has_path dbus_message_has_path_dylibloader_orig_dbus
#define dbus_message_set_interface dbus_message_set_interface_dylibloader_orig_dbus
#define dbus_message_get_interface dbus_message_get_interface_dylibloader_orig_dbus
#define dbus_message_has_interface dbus_message_has_interface_dylibloader_orig_dbus
#define dbus_message_set_member dbus_message_set_member_dylibloader_orig_dbus
#define dbus_message_get_member dbus_message_get_member_dylibloader_orig_dbus
#define dbus_message_has_member dbus_message_has_member_dylibloader_orig_dbus
#define dbus_message_set_error_name dbus_message_set_error_name_dylibloader_orig_dbus
#define dbus_message_get_error_name dbus_message_get_error_name_dylibloader_orig_dbus
#define dbus_message_set_destination dbus_message_set_destination_dylibloader_orig_dbus
#define dbus_message_get_destination dbus_message_get_destination_dylibloader_orig_dbus
#define dbus_message_set_sender dbus_message_set_sender_dylibloader_orig_dbus
#define dbus_message_get_sender dbus_message_get_sender_dylibloader_orig_dbus
#define dbus_message_get_signature dbus_message_get_signature_dylibloader_orig_dbus
#define dbus_message_set_no_reply dbus_message_set_no_reply_dylibloader_orig_dbus
#define dbus_message_get_no_reply dbus_message_get_no_reply_dylibloader_orig_dbus
#define dbus_message_is_method_call dbus_message_is_method_call_dylibloader_orig_dbus
#define dbus_message_is_signal dbus_message_is_signal_dylibloader_orig_dbus
#define dbus_message_is_error dbus_message_is_error_dylibloader_orig_dbus
#define dbus_message_has_destination dbus_message_has_destination_dylibloader_orig_dbus
#define dbus_message_has_sender dbus_message_has_sender_dylibloader_orig_dbus
#define dbus_message_has_signature dbus_message_has_signature_dylibloader_orig_dbus
#define dbus_message_get_serial dbus_message_get_serial_dylibloader_orig_dbus
#define dbus_message_set_serial dbus_message_set_serial_dylibloader_orig_dbus
#define dbus_message_set_reply_serial dbus_message_set_reply_serial_dylibloader_orig_dbus
#define dbus_message_get_reply_serial dbus_message_get_reply_serial_dylibloader_orig_dbus
#define dbus_message_set_auto_start dbus_message_set_auto_start_dylibloader_orig_dbus
#define dbus_message_get_auto_start dbus_message_get_auto_start_dylibloader_orig_dbus
#define dbus_message_get_path_decomposed dbus_message_get_path_decomposed_dylibloader_orig_dbus
#define dbus_message_append_args dbus_message_append_args_dylibloader_orig_dbus
#define dbus_message_append_args_valist dbus_message_append_args_valist_dylibloader_orig_dbus
#define dbus_message_get_args dbus_message_get_args_dylibloader_orig_dbus
#define dbus_message_get_args_valist dbus_message_get_args_valist_dylibloader_orig_dbus
#define dbus_message_contains_unix_fds dbus_message_contains_unix_fds_dylibloader_orig_dbus
#define dbus_message_iter_init_closed dbus_message_iter_init_closed_dylibloader_orig_dbus
#define dbus_message_iter_init dbus_message_iter_init_dylibloader_orig_dbus
#define dbus_message_iter_has_next dbus_message_iter_has_next_dylibloader_orig_dbus
#define dbus_message_iter_next dbus_message_iter_next_dylibloader_orig_dbus
#define dbus_message_iter_get_signature dbus_message_iter_get_signature_dylibloader_orig_dbus
#define dbus_message_iter_get_arg_type dbus_message_iter_get_arg_type_dylibloader_orig_dbus
#define dbus_message_iter_get_element_type dbus_message_iter_get_element_type_dylibloader_orig_dbus
#define dbus_message_iter_recurse dbus_message_iter_recurse_dylibloader_orig_dbus
#define dbus_message_iter_get_basic dbus_message_iter_get_basic_dylibloader_orig_dbus
#define dbus_message_iter_get_element_count dbus_message_iter_get_element_count_dylibloader_orig_dbus
#define dbus_message_iter_get_array_len dbus_message_iter_get_array_len_dylibloader_orig_dbus
#define dbus_message_iter_get_fixed_array dbus_message_iter_get_fixed_array_dylibloader_orig_dbus
#define dbus_message_iter_init_append dbus_message_iter_init_append_dylibloader_orig_dbus
#define dbus_message_iter_append_basic dbus_message_iter_append_basic_dylibloader_orig_dbus
#define dbus_message_iter_append_fixed_array dbus_message_iter_append_fixed_array_dylibloader_orig_dbus
#define dbus_message_iter_open_container dbus_message_iter_open_container_dylibloader_orig_dbus
#define dbus_message_iter_close_container dbus_message_iter_close_container_dylibloader_orig_dbus
#define dbus_message_iter_abandon_container dbus_message_iter_abandon_container_dylibloader_orig_dbus
#define dbus_message_iter_abandon_container_if_open dbus_message_iter_abandon_container_if_open_dylibloader_orig_dbus
#define dbus_message_lock dbus_message_lock_dylibloader_orig_dbus
#define dbus_set_error_from_message dbus_set_error_from_message_dylibloader_orig_dbus
#define dbus_message_allocate_data_slot dbus_message_allocate_data_slot_dylibloader_orig_dbus
#define dbus_message_free_data_slot dbus_message_free_data_slot_dylibloader_orig_dbus
#define dbus_message_set_data dbus_message_set_data_dylibloader_orig_dbus
#define dbus_message_get_data dbus_message_get_data_dylibloader_orig_dbus
#define dbus_message_type_from_string dbus_message_type_from_string_dylibloader_orig_dbus
#define dbus_message_type_to_string dbus_message_type_to_string_dylibloader_orig_dbus
#define dbus_message_marshal dbus_message_marshal_dylibloader_orig_dbus
#define dbus_message_demarshal dbus_message_demarshal_dylibloader_orig_dbus
#define dbus_message_demarshal_bytes_needed dbus_message_demarshal_bytes_needed_dylibloader_orig_dbus
#define dbus_message_set_allow_interactive_authorization dbus_message_set_allow_interactive_authorization_dylibloader_orig_dbus
#define dbus_message_get_allow_interactive_authorization dbus_message_get_allow_interactive_authorization_dylibloader_orig_dbus
#define dbus_connection_open dbus_connection_open_dylibloader_orig_dbus
#define dbus_connection_open_private dbus_connection_open_private_dylibloader_orig_dbus
#define dbus_connection_ref dbus_connection_ref_dylibloader_orig_dbus
#define dbus_connection_unref dbus_connection_unref_dylibloader_orig_dbus
#define dbus_connection_close dbus_connection_close_dylibloader_orig_dbus
#define dbus_connection_get_is_connected dbus_connection_get_is_connected_dylibloader_orig_dbus
#define dbus_connection_get_is_authenticated dbus_connection_get_is_authenticated_dylibloader_orig_dbus
#define dbus_connection_get_is_anonymous dbus_connection_get_is_anonymous_dylibloader_orig_dbus
#define dbus_connection_get_server_id dbus_connection_get_server_id_dylibloader_orig_dbus
#define dbus_connection_can_send_type dbus_connection_can_send_type_dylibloader_orig_dbus
#define dbus_connection_set_exit_on_disconnect dbus_connection_set_exit_on_disconnect_dylibloader_orig_dbus
#define dbus_connection_flush dbus_connection_flush_dylibloader_orig_dbus
#define dbus_connection_read_write_dispatch dbus_connection_read_write_dispatch_dylibloader_orig_dbus
#define dbus_connection_read_write dbus_connection_read_write_dylibloader_orig_dbus
#define dbus_connection_borrow_message dbus_connection_borrow_message_dylibloader_orig_dbus
#define dbus_connection_return_message dbus_connection_return_message_dylibloader_orig_dbus
#define dbus_connection_steal_borrowed_message dbus_connection_steal_borrowed_message_dylibloader_orig_dbus
#define dbus_connection_pop_message dbus_connection_pop_message_dylibloader_orig_dbus
#define dbus_connection_get_dispatch_status dbus_connection_get_dispatch_status_dylibloader_orig_dbus
#define dbus_connection_dispatch dbus_connection_dispatch_dylibloader_orig_dbus
#define dbus_connection_has_messages_to_send dbus_connection_has_messages_to_send_dylibloader_orig_dbus
#define dbus_connection_send dbus_connection_send_dylibloader_orig_dbus
#define dbus_connection_send_with_reply dbus_connection_send_with_reply_dylibloader_orig_dbus
#define dbus_connection_send_with_reply_and_block dbus_connection_send_with_reply_and_block_dylibloader_orig_dbus
#define dbus_connection_set_watch_functions dbus_connection_set_watch_functions_dylibloader_orig_dbus
#define dbus_connection_set_timeout_functions dbus_connection_set_timeout_functions_dylibloader_orig_dbus
#define dbus_connection_set_wakeup_main_function dbus_connection_set_wakeup_main_function_dylibloader_orig_dbus
#define dbus_connection_set_dispatch_status_function dbus_connection_set_dispatch_status_function_dylibloader_orig_dbus
#define dbus_connection_get_unix_user dbus_connection_get_unix_user_dylibloader_orig_dbus
#define dbus_connection_get_unix_process_id dbus_connection_get_unix_process_id_dylibloader_orig_dbus
#define dbus_connection_get_adt_audit_session_data dbus_connection_get_adt_audit_session_data_dylibloader_orig_dbus
#define dbus_connection_set_unix_user_function dbus_connection_set_unix_user_function_dylibloader_orig_dbus
#define dbus_connection_get_windows_user dbus_connection_get_windows_user_dylibloader_orig_dbus
#define dbus_connection_set_windows_user_function dbus_connection_set_windows_user_function_dylibloader_orig_dbus
#define dbus_connection_set_allow_anonymous dbus_connection_set_allow_anonymous_dylibloader_orig_dbus
#define dbus_connection_set_route_peer_messages dbus_connection_set_route_peer_messages_dylibloader_orig_dbus
#define dbus_connection_add_filter dbus_connection_add_filter_dylibloader_orig_dbus
#define dbus_connection_remove_filter dbus_connection_remove_filter_dylibloader_orig_dbus
#define dbus_connection_allocate_data_slot dbus_connection_allocate_data_slot_dylibloader_orig_dbus
#define dbus_connection_free_data_slot dbus_connection_free_data_slot_dylibloader_orig_dbus
#define dbus_connection_set_data dbus_connection_set_data_dylibloader_orig_dbus
#define dbus_connection_get_data dbus_connection_get_data_dylibloader_orig_dbus
#define dbus_connection_set_change_sigpipe dbus_connection_set_change_sigpipe_dylibloader_orig_dbus
#define dbus_connection_set_max_message_size dbus_connection_set_max_message_size_dylibloader_orig_dbus
#define dbus_connection_get_max_message_size dbus_connection_get_max_message_size_dylibloader_orig_dbus
#define dbus_connection_set_max_received_size dbus_connection_set_max_received_size_dylibloader_orig_dbus
#define dbus_connection_get_max_received_size dbus_connection_get_max_received_size_dylibloader_orig_dbus
#define dbus_connection_set_max_message_unix_fds dbus_connection_set_max_message_unix_fds_dylibloader_orig_dbus
#define dbus_connection_get_max_message_unix_fds dbus_connection_get_max_message_unix_fds_dylibloader_orig_dbus
#define dbus_connection_set_max_received_unix_fds dbus_connection_set_max_received_unix_fds_dylibloader_orig_dbus
#define dbus_connection_get_max_received_unix_fds dbus_connection_get_max_received_unix_fds_dylibloader_orig_dbus
#define dbus_connection_get_outgoing_size dbus_connection_get_outgoing_size_dylibloader_orig_dbus
#define dbus_connection_get_outgoing_unix_fds dbus_connection_get_outgoing_unix_fds_dylibloader_orig_dbus
#define dbus_connection_preallocate_send dbus_connection_preallocate_send_dylibloader_orig_dbus
#define dbus_connection_free_preallocated_send dbus_connection_free_preallocated_send_dylibloader_orig_dbus
#define dbus_connection_send_preallocated dbus_connection_send_preallocated_dylibloader_orig_dbus
#define dbus_connection_try_register_object_path dbus_connection_try_register_object_path_dylibloader_orig_dbus
#define dbus_connection_register_object_path dbus_connection_register_object_path_dylibloader_orig_dbus
#define dbus_connection_try_register_fallback dbus_connection_try_register_fallback_dylibloader_orig_dbus
#define dbus_connection_register_fallback dbus_connection_register_fallback_dylibloader_orig_dbus
#define dbus_connection_unregister_object_path dbus_connection_unregister_object_path_dylibloader_orig_dbus
#define dbus_connection_get_object_path_data dbus_connection_get_object_path_data_dylibloader_orig_dbus
#define dbus_connection_list_registered dbus_connection_list_registered_dylibloader_orig_dbus
#define dbus_connection_get_unix_fd dbus_connection_get_unix_fd_dylibloader_orig_dbus
#define dbus_connection_get_socket dbus_connection_get_socket_dylibloader_orig_dbus
#define dbus_watch_get_fd dbus_watch_get_fd_dylibloader_orig_dbus
#define dbus_watch_get_unix_fd dbus_watch_get_unix_fd_dylibloader_orig_dbus
#define dbus_watch_get_socket dbus_watch_get_socket_dylibloader_orig_dbus
#define dbus_watch_get_flags dbus_watch_get_flags_dylibloader_orig_dbus
#define dbus_watch_get_data dbus_watch_get_data_dylibloader_orig_dbus
#define dbus_watch_set_data dbus_watch_set_data_dylibloader_orig_dbus
#define dbus_watch_handle dbus_watch_handle_dylibloader_orig_dbus
#define dbus_watch_get_enabled dbus_watch_get_enabled_dylibloader_orig_dbus
#define dbus_timeout_get_interval dbus_timeout_get_interval_dylibloader_orig_dbus
#define dbus_timeout_get_data dbus_timeout_get_data_dylibloader_orig_dbus
#define dbus_timeout_set_data dbus_timeout_set_data_dylibloader_orig_dbus
#define dbus_timeout_handle dbus_timeout_handle_dylibloader_orig_dbus
#define dbus_timeout_get_enabled dbus_timeout_get_enabled_dylibloader_orig_dbus
#define dbus_bus_get dbus_bus_get_dylibloader_orig_dbus
#define dbus_bus_get_private dbus_bus_get_private_dylibloader_orig_dbus
#define dbus_bus_register dbus_bus_register_dylibloader_orig_dbus
#define dbus_bus_set_unique_name dbus_bus_set_unique_name_dylibloader_orig_dbus
#define dbus_bus_get_unique_name dbus_bus_get_unique_name_dylibloader_orig_dbus
#define dbus_bus_get_unix_user dbus_bus_get_unix_user_dylibloader_orig_dbus
#define dbus_bus_get_id dbus_bus_get_id_dylibloader_orig_dbus
#define dbus_bus_request_name dbus_bus_request_name_dylibloader_orig_dbus
#define dbus_bus_release_name dbus_bus_release_name_dylibloader_orig_dbus
#define dbus_bus_name_has_owner dbus_bus_name_has_owner_dylibloader_orig_dbus
#define dbus_bus_start_service_by_name dbus_bus_start_service_by_name_dylibloader_orig_dbus
#define dbus_bus_add_match dbus_bus_add_match_dylibloader_orig_dbus
#define dbus_bus_remove_match dbus_bus_remove_match_dylibloader_orig_dbus
#define dbus_get_local_machine_id dbus_get_local_machine_id_dylibloader_orig_dbus
#define dbus_get_version dbus_get_version_dylibloader_orig_dbus
#define dbus_setenv dbus_setenv_dylibloader_orig_dbus
#define dbus_try_get_local_machine_id dbus_try_get_local_machine_id_dylibloader_orig_dbus
#define dbus_pending_call_ref dbus_pending_call_ref_dylibloader_orig_dbus
#define dbus_pending_call_unref dbus_pending_call_unref_dylibloader_orig_dbus
#define dbus_pending_call_set_notify dbus_pending_call_set_notify_dylibloader_orig_dbus
#define dbus_pending_call_cancel dbus_pending_call_cancel_dylibloader_orig_dbus
#define dbus_pending_call_get_completed dbus_pending_call_get_completed_dylibloader_orig_dbus
#define dbus_pending_call_steal_reply dbus_pending_call_steal_reply_dylibloader_orig_dbus
#define dbus_pending_call_block dbus_pending_call_block_dylibloader_orig_dbus
#define dbus_pending_call_allocate_data_slot dbus_pending_call_allocate_data_slot_dylibloader_orig_dbus
#define dbus_pending_call_free_data_slot dbus_pending_call_free_data_slot_dylibloader_orig_dbus
#define dbus_pending_call_set_data dbus_pending_call_set_data_dylibloader_orig_dbus
#define dbus_pending_call_get_data dbus_pending_call_get_data_dylibloader_orig_dbus
#define dbus_server_listen dbus_server_listen_dylibloader_orig_dbus
#define dbus_server_ref dbus_server_ref_dylibloader_orig_dbus
#define dbus_server_unref dbus_server_unref_dylibloader_orig_dbus
#define dbus_server_disconnect dbus_server_disconnect_dylibloader_orig_dbus
#define dbus_server_get_is_connected dbus_server_get_is_connected_dylibloader_orig_dbus
#define dbus_server_get_address dbus_server_get_address_dylibloader_orig_dbus
#define dbus_server_get_id dbus_server_get_id_dylibloader_orig_dbus
#define dbus_server_set_new_connection_function dbus_server_set_new_connection_function_dylibloader_orig_dbus
#define dbus_server_set_watch_functions dbus_server_set_watch_functions_dylibloader_orig_dbus
#define dbus_server_set_timeout_functions dbus_server_set_timeout_functions_dylibloader_orig_dbus
#define dbus_server_set_auth_mechanisms dbus_server_set_auth_mechanisms_dylibloader_orig_dbus
#define dbus_server_allocate_data_slot dbus_server_allocate_data_slot_dylibloader_orig_dbus
#define dbus_server_free_data_slot dbus_server_free_data_slot_dylibloader_orig_dbus
#define dbus_server_set_data dbus_server_set_data_dylibloader_orig_dbus
#define dbus_server_get_data dbus_server_get_data_dylibloader_orig_dbus
#define dbus_signature_iter_init dbus_signature_iter_init_dylibloader_orig_dbus
#define dbus_signature_iter_get_current_type dbus_signature_iter_get_current_type_dylibloader_orig_dbus
#define dbus_signature_iter_get_signature dbus_signature_iter_get_signature_dylibloader_orig_dbus
#define dbus_signature_iter_get_element_type dbus_signature_iter_get_element_type_dylibloader_orig_dbus
#define dbus_signature_iter_next dbus_signature_iter_next_dylibloader_orig_dbus
#define dbus_signature_iter_recurse dbus_signature_iter_recurse_dylibloader_orig_dbus
#define dbus_signature_validate dbus_signature_validate_dylibloader_orig_dbus
#define dbus_signature_validate_single dbus_signature_validate_single_dylibloader_orig_dbus
#define dbus_type_is_valid dbus_type_is_valid_dylibloader_orig_dbus
#define dbus_type_is_basic dbus_type_is_basic_dylibloader_orig_dbus
#define dbus_type_is_container dbus_type_is_container_dylibloader_orig_dbus
#define dbus_type_is_fixed dbus_type_is_fixed_dylibloader_orig_dbus
#define dbus_validate_path dbus_validate_path_dylibloader_orig_dbus
#define dbus_validate_interface dbus_validate_interface_dylibloader_orig_dbus
#define dbus_validate_member dbus_validate_member_dylibloader_orig_dbus
#define dbus_validate_error_name dbus_validate_error_name_dylibloader_orig_dbus
#define dbus_validate_bus_name dbus_validate_bus_name_dylibloader_orig_dbus
#define dbus_validate_utf8 dbus_validate_utf8_dylibloader_orig_dbus
#define dbus_threads_init dbus_threads_init_dylibloader_orig_dbus
#define dbus_threads_init_default dbus_threads_init_default_dylibloader_orig_dbus
#include <dbus/dbus.h>
#undef dbus_error_init
#undef dbus_error_free
#undef dbus_set_error
#undef dbus_set_error_const
#undef dbus_move_error
#undef dbus_error_has_name
#undef dbus_error_is_set
#undef dbus_parse_address
#undef dbus_address_entry_get_value
#undef dbus_address_entry_get_method
#undef dbus_address_entries_free
#undef dbus_address_escape_value
#undef dbus_address_unescape_value
#undef dbus_malloc
#undef dbus_malloc0
#undef dbus_realloc
#undef dbus_free
#undef dbus_free_string_array
#undef dbus_shutdown
#undef dbus_message_new
#undef dbus_message_new_method_call
#undef dbus_message_new_method_return
#undef dbus_message_new_signal
#undef dbus_message_new_error
#undef dbus_message_new_error_printf
#undef dbus_message_copy
#undef dbus_message_ref
#undef dbus_message_unref
#undef dbus_message_get_type
#undef dbus_message_set_path
#undef dbus_message_get_path
#undef dbus_message_has_path
#undef dbus_message_set_interface
#undef dbus_message_get_interface
#undef dbus_message_has_interface
#undef dbus_message_set_member
#undef dbus_message_get_member
#undef dbus_message_has_member
#undef dbus_message_set_error_name
#undef dbus_message_get_error_name
#undef dbus_message_set_destination
#undef dbus_message_get_destination
#undef dbus_message_set_sender
#undef dbus_message_get_sender
#undef dbus_message_get_signature
#undef dbus_message_set_no_reply
#undef dbus_message_get_no_reply
#undef dbus_message_is_method_call
#undef dbus_message_is_signal
#undef dbus_message_is_error
#undef dbus_message_has_destination
#undef dbus_message_has_sender
#undef dbus_message_has_signature
#undef dbus_message_get_serial
#undef dbus_message_set_serial
#undef dbus_message_set_reply_serial
#undef dbus_message_get_reply_serial
#undef dbus_message_set_auto_start
#undef dbus_message_get_auto_start
#undef dbus_message_get_path_decomposed
#undef dbus_message_append_args
#undef dbus_message_append_args_valist
#undef dbus_message_get_args
#undef dbus_message_get_args_valist
#undef dbus_message_contains_unix_fds
#undef dbus_message_iter_init_closed
#undef dbus_message_iter_init
#undef dbus_message_iter_has_next
#undef dbus_message_iter_next
#undef dbus_message_iter_get_signature
#undef dbus_message_iter_get_arg_type
#undef dbus_message_iter_get_element_type
#undef dbus_message_iter_recurse
#undef dbus_message_iter_get_basic
#undef dbus_message_iter_get_element_count
#undef dbus_message_iter_get_array_len
#undef dbus_message_iter_get_fixed_array
#undef dbus_message_iter_init_append
#undef dbus_message_iter_append_basic
#undef dbus_message_iter_append_fixed_array
#undef dbus_message_iter_open_container
#undef dbus_message_iter_close_container
#undef dbus_message_iter_abandon_container
#undef dbus_message_iter_abandon_container_if_open
#undef dbus_message_lock
#undef dbus_set_error_from_message
#undef dbus_message_allocate_data_slot
#undef dbus_message_free_data_slot
#undef dbus_message_set_data
#undef dbus_message_get_data
#undef dbus_message_type_from_string
#undef dbus_message_type_to_string
#undef dbus_message_marshal
#undef dbus_message_demarshal
#undef dbus_message_demarshal_bytes_needed
#undef dbus_message_set_allow_interactive_authorization
#undef dbus_message_get_allow_interactive_authorization
#undef dbus_connection_open
#undef dbus_connection_open_private
#undef dbus_connection_ref
#undef dbus_connection_unref
#undef dbus_connection_close
#undef dbus_connection_get_is_connected
#undef dbus_connection_get_is_authenticated
#undef dbus_connection_get_is_anonymous
#undef dbus_connection_get_server_id
#undef dbus_connection_can_send_type
#undef dbus_connection_set_exit_on_disconnect
#undef dbus_connection_flush
#undef dbus_connection_read_write_dispatch
#undef dbus_connection_read_write
#undef dbus_connection_borrow_message
#undef dbus_connection_return_message
#undef dbus_connection_steal_borrowed_message
#undef dbus_connection_pop_message
#undef dbus_connection_get_dispatch_status
#undef dbus_connection_dispatch
#undef dbus_connection_has_messages_to_send
#undef dbus_connection_send
#undef dbus_connection_send_with_reply
#undef dbus_connection_send_with_reply_and_block
#undef dbus_connection_set_watch_functions
#undef dbus_connection_set_timeout_functions
#undef dbus_connection_set_wakeup_main_function
#undef dbus_connection_set_dispatch_status_function
#undef dbus_connection_get_unix_user
#undef dbus_connection_get_unix_process_id
#undef dbus_connection_get_adt_audit_session_data
#undef dbus_connection_set_unix_user_function
#undef dbus_connection_get_windows_user
#undef dbus_connection_set_windows_user_function
#undef dbus_connection_set_allow_anonymous
#undef dbus_connection_set_route_peer_messages
#undef dbus_connection_add_filter
#undef dbus_connection_remove_filter
#undef dbus_connection_allocate_data_slot
#undef dbus_connection_free_data_slot
#undef dbus_connection_set_data
#undef dbus_connection_get_data
#undef dbus_connection_set_change_sigpipe
#undef dbus_connection_set_max_message_size
#undef dbus_connection_get_max_message_size
#undef dbus_connection_set_max_received_size
#undef dbus_connection_get_max_received_size
#undef dbus_connection_set_max_message_unix_fds
#undef dbus_connection_get_max_message_unix_fds
#undef dbus_connection_set_max_received_unix_fds
#undef dbus_connection_get_max_received_unix_fds
#undef dbus_connection_get_outgoing_size
#undef dbus_connection_get_outgoing_unix_fds
#undef dbus_connection_preallocate_send
#undef dbus_connection_free_preallocated_send
#undef dbus_connection_send_preallocated
#undef dbus_connection_try_register_object_path
#undef dbus_connection_register_object_path
#undef dbus_connection_try_register_fallback
#undef dbus_connection_register_fallback
#undef dbus_connection_unregister_object_path
#undef dbus_connection_get_object_path_data
#undef dbus_connection_list_registered
#undef dbus_connection_get_unix_fd
#undef dbus_connection_get_socket
#undef dbus_watch_get_fd
#undef dbus_watch_get_unix_fd
#undef dbus_watch_get_socket
#undef dbus_watch_get_flags
#undef dbus_watch_get_data
#undef dbus_watch_set_data
#undef dbus_watch_handle
#undef dbus_watch_get_enabled
#undef dbus_timeout_get_interval
#undef dbus_timeout_get_data
#undef dbus_timeout_set_data
#undef dbus_timeout_handle
#undef dbus_timeout_get_enabled
#undef dbus_bus_get
#undef dbus_bus_get_private
#undef dbus_bus_register
#undef dbus_bus_set_unique_name
#undef dbus_bus_get_unique_name
#undef dbus_bus_get_unix_user
#undef dbus_bus_get_id
#undef dbus_bus_request_name
#undef dbus_bus_release_name
#undef dbus_bus_name_has_owner
#undef dbus_bus_start_service_by_name
#undef dbus_bus_add_match
#undef dbus_bus_remove_match
#undef dbus_get_local_machine_id
#undef dbus_get_version
#undef dbus_setenv
#undef dbus_try_get_local_machine_id
#undef dbus_pending_call_ref
#undef dbus_pending_call_unref
#undef dbus_pending_call_set_notify
#undef dbus_pending_call_cancel
#undef dbus_pending_call_get_completed
#undef dbus_pending_call_steal_reply
#undef dbus_pending_call_block
#undef dbus_pending_call_allocate_data_slot
#undef dbus_pending_call_free_data_slot
#undef dbus_pending_call_set_data
#undef dbus_pending_call_get_data
#undef dbus_server_listen
#undef dbus_server_ref
#undef dbus_server_unref
#undef dbus_server_disconnect
#undef dbus_server_get_is_connected
#undef dbus_server_get_address
#undef dbus_server_get_id
#undef dbus_server_set_new_connection_function
#undef dbus_server_set_watch_functions
#undef dbus_server_set_timeout_functions
#undef dbus_server_set_auth_mechanisms
#undef dbus_server_allocate_data_slot
#undef dbus_server_free_data_slot
#undef dbus_server_set_data
#undef dbus_server_get_data
#undef dbus_signature_iter_init
#undef dbus_signature_iter_get_current_type
#undef dbus_signature_iter_get_signature
#undef dbus_signature_iter_get_element_type
#undef dbus_signature_iter_next
#undef dbus_signature_iter_recurse
#undef dbus_signature_validate
#undef dbus_signature_validate_single
#undef dbus_type_is_valid
#undef dbus_type_is_basic
#undef dbus_type_is_container
#undef dbus_type_is_fixed
#undef dbus_validate_path
#undef dbus_validate_interface
#undef dbus_validate_member
#undef dbus_validate_error_name
#undef dbus_validate_bus_name
#undef dbus_validate_utf8
#undef dbus_threads_init
#undef dbus_threads_init_default
#ifdef __cplusplus
extern "C" {
#endif
#define dbus_error_init dbus_error_init_dylibloader_wrapper_dbus
#define dbus_error_free dbus_error_free_dylibloader_wrapper_dbus
#define dbus_set_error dbus_set_error_dylibloader_wrapper_dbus
#define dbus_set_error_const dbus_set_error_const_dylibloader_wrapper_dbus
#define dbus_move_error dbus_move_error_dylibloader_wrapper_dbus
#define dbus_error_has_name dbus_error_has_name_dylibloader_wrapper_dbus
#define dbus_error_is_set dbus_error_is_set_dylibloader_wrapper_dbus
#define dbus_parse_address dbus_parse_address_dylibloader_wrapper_dbus
#define dbus_address_entry_get_value dbus_address_entry_get_value_dylibloader_wrapper_dbus
#define dbus_address_entry_get_method dbus_address_entry_get_method_dylibloader_wrapper_dbus
#define dbus_address_entries_free dbus_address_entries_free_dylibloader_wrapper_dbus
#define dbus_address_escape_value dbus_address_escape_value_dylibloader_wrapper_dbus
#define dbus_address_unescape_value dbus_address_unescape_value_dylibloader_wrapper_dbus
#define dbus_malloc dbus_malloc_dylibloader_wrapper_dbus
#define dbus_malloc0 dbus_malloc0_dylibloader_wrapper_dbus
#define dbus_realloc dbus_realloc_dylibloader_wrapper_dbus
#define dbus_free dbus_free_dylibloader_wrapper_dbus
#define dbus_free_string_array dbus_free_string_array_dylibloader_wrapper_dbus
#define dbus_shutdown dbus_shutdown_dylibloader_wrapper_dbus
#define dbus_message_new dbus_message_new_dylibloader_wrapper_dbus
#define dbus_message_new_method_call dbus_message_new_method_call_dylibloader_wrapper_dbus
#define dbus_message_new_method_return dbus_message_new_method_return_dylibloader_wrapper_dbus
#define dbus_message_new_signal dbus_message_new_signal_dylibloader_wrapper_dbus
#define dbus_message_new_error dbus_message_new_error_dylibloader_wrapper_dbus
#define dbus_message_new_error_printf dbus_message_new_error_printf_dylibloader_wrapper_dbus
#define dbus_message_copy dbus_message_copy_dylibloader_wrapper_dbus
#define dbus_message_ref dbus_message_ref_dylibloader_wrapper_dbus
#define dbus_message_unref dbus_message_unref_dylibloader_wrapper_dbus
#define dbus_message_get_type dbus_message_get_type_dylibloader_wrapper_dbus
#define dbus_message_set_path dbus_message_set_path_dylibloader_wrapper_dbus
#define dbus_message_get_path dbus_message_get_path_dylibloader_wrapper_dbus
#define dbus_message_has_path dbus_message_has_path_dylibloader_wrapper_dbus
#define dbus_message_set_interface dbus_message_set_interface_dylibloader_wrapper_dbus
#define dbus_message_get_interface dbus_message_get_interface_dylibloader_wrapper_dbus
#define dbus_message_has_interface dbus_message_has_interface_dylibloader_wrapper_dbus
#define dbus_message_set_member dbus_message_set_member_dylibloader_wrapper_dbus
#define dbus_message_get_member dbus_message_get_member_dylibloader_wrapper_dbus
#define dbus_message_has_member dbus_message_has_member_dylibloader_wrapper_dbus
#define dbus_message_set_error_name dbus_message_set_error_name_dylibloader_wrapper_dbus
#define dbus_message_get_error_name dbus_message_get_error_name_dylibloader_wrapper_dbus
#define dbus_message_set_destination dbus_message_set_destination_dylibloader_wrapper_dbus
#define dbus_message_get_destination dbus_message_get_destination_dylibloader_wrapper_dbus
#define dbus_message_set_sender dbus_message_set_sender_dylibloader_wrapper_dbus
#define dbus_message_get_sender dbus_message_get_sender_dylibloader_wrapper_dbus
#define dbus_message_get_signature dbus_message_get_signature_dylibloader_wrapper_dbus
#define dbus_message_set_no_reply dbus_message_set_no_reply_dylibloader_wrapper_dbus
#define dbus_message_get_no_reply dbus_message_get_no_reply_dylibloader_wrapper_dbus
#define dbus_message_is_method_call dbus_message_is_method_call_dylibloader_wrapper_dbus
#define dbus_message_is_signal dbus_message_is_signal_dylibloader_wrapper_dbus
#define dbus_message_is_error dbus_message_is_error_dylibloader_wrapper_dbus
#define dbus_message_has_destination dbus_message_has_destination_dylibloader_wrapper_dbus
#define dbus_message_has_sender dbus_message_has_sender_dylibloader_wrapper_dbus
#define dbus_message_has_signature dbus_message_has_signature_dylibloader_wrapper_dbus
#define dbus_message_get_serial dbus_message_get_serial_dylibloader_wrapper_dbus
#define dbus_message_set_serial dbus_message_set_serial_dylibloader_wrapper_dbus
#define dbus_message_set_reply_serial dbus_message_set_reply_serial_dylibloader_wrapper_dbus
#define dbus_message_get_reply_serial dbus_message_get_reply_serial_dylibloader_wrapper_dbus
#define dbus_message_set_auto_start dbus_message_set_auto_start_dylibloader_wrapper_dbus
#define dbus_message_get_auto_start dbus_message_get_auto_start_dylibloader_wrapper_dbus
#define dbus_message_get_path_decomposed dbus_message_get_path_decomposed_dylibloader_wrapper_dbus
#define dbus_message_append_args dbus_message_append_args_dylibloader_wrapper_dbus
#define dbus_message_append_args_valist dbus_message_append_args_valist_dylibloader_wrapper_dbus
#define dbus_message_get_args dbus_message_get_args_dylibloader_wrapper_dbus
#define dbus_message_get_args_valist dbus_message_get_args_valist_dylibloader_wrapper_dbus
#define dbus_message_contains_unix_fds dbus_message_contains_unix_fds_dylibloader_wrapper_dbus
#define dbus_message_iter_init_closed dbus_message_iter_init_closed_dylibloader_wrapper_dbus
#define dbus_message_iter_init dbus_message_iter_init_dylibloader_wrapper_dbus
#define dbus_message_iter_has_next dbus_message_iter_has_next_dylibloader_wrapper_dbus
#define dbus_message_iter_next dbus_message_iter_next_dylibloader_wrapper_dbus
#define dbus_message_iter_get_signature dbus_message_iter_get_signature_dylibloader_wrapper_dbus
#define dbus_message_iter_get_arg_type dbus_message_iter_get_arg_type_dylibloader_wrapper_dbus
#define dbus_message_iter_get_element_type dbus_message_iter_get_element_type_dylibloader_wrapper_dbus
#define dbus_message_iter_recurse dbus_message_iter_recurse_dylibloader_wrapper_dbus
#define dbus_message_iter_get_basic dbus_message_iter_get_basic_dylibloader_wrapper_dbus
#define dbus_message_iter_get_element_count dbus_message_iter_get_element_count_dylibloader_wrapper_dbus
#define dbus_message_iter_get_array_len dbus_message_iter_get_array_len_dylibloader_wrapper_dbus
#define dbus_message_iter_get_fixed_array dbus_message_iter_get_fixed_array_dylibloader_wrapper_dbus
#define dbus_message_iter_init_append dbus_message_iter_init_append_dylibloader_wrapper_dbus
#define dbus_message_iter_append_basic dbus_message_iter_append_basic_dylibloader_wrapper_dbus
#define dbus_message_iter_append_fixed_array dbus_message_iter_append_fixed_array_dylibloader_wrapper_dbus
#define dbus_message_iter_open_container dbus_message_iter_open_container_dylibloader_wrapper_dbus
#define dbus_message_iter_close_container dbus_message_iter_close_container_dylibloader_wrapper_dbus
#define dbus_message_iter_abandon_container dbus_message_iter_abandon_container_dylibloader_wrapper_dbus
#define dbus_message_iter_abandon_container_if_open dbus_message_iter_abandon_container_if_open_dylibloader_wrapper_dbus
#define dbus_message_lock dbus_message_lock_dylibloader_wrapper_dbus
#define dbus_set_error_from_message dbus_set_error_from_message_dylibloader_wrapper_dbus
#define dbus_message_allocate_data_slot dbus_message_allocate_data_slot_dylibloader_wrapper_dbus
#define dbus_message_free_data_slot dbus_message_free_data_slot_dylibloader_wrapper_dbus
#define dbus_message_set_data dbus_message_set_data_dylibloader_wrapper_dbus
#define dbus_message_get_data dbus_message_get_data_dylibloader_wrapper_dbus
#define dbus_message_type_from_string dbus_message_type_from_string_dylibloader_wrapper_dbus
#define dbus_message_type_to_string dbus_message_type_to_string_dylibloader_wrapper_dbus
#define dbus_message_marshal dbus_message_marshal_dylibloader_wrapper_dbus
#define dbus_message_demarshal dbus_message_demarshal_dylibloader_wrapper_dbus
#define dbus_message_demarshal_bytes_needed dbus_message_demarshal_bytes_needed_dylibloader_wrapper_dbus
#define dbus_message_set_allow_interactive_authorization dbus_message_set_allow_interactive_authorization_dylibloader_wrapper_dbus
#define dbus_message_get_allow_interactive_authorization dbus_message_get_allow_interactive_authorization_dylibloader_wrapper_dbus
#define dbus_connection_open dbus_connection_open_dylibloader_wrapper_dbus
#define dbus_connection_open_private dbus_connection_open_private_dylibloader_wrapper_dbus
#define dbus_connection_ref dbus_connection_ref_dylibloader_wrapper_dbus
#define dbus_connection_unref dbus_connection_unref_dylibloader_wrapper_dbus
#define dbus_connection_close dbus_connection_close_dylibloader_wrapper_dbus
#define dbus_connection_get_is_connected dbus_connection_get_is_connected_dylibloader_wrapper_dbus
#define dbus_connection_get_is_authenticated dbus_connection_get_is_authenticated_dylibloader_wrapper_dbus
#define dbus_connection_get_is_anonymous dbus_connection_get_is_anonymous_dylibloader_wrapper_dbus
#define dbus_connection_get_server_id dbus_connection_get_server_id_dylibloader_wrapper_dbus
#define dbus_connection_can_send_type dbus_connection_can_send_type_dylibloader_wrapper_dbus
#define dbus_connection_set_exit_on_disconnect dbus_connection_set_exit_on_disconnect_dylibloader_wrapper_dbus
#define dbus_connection_flush dbus_connection_flush_dylibloader_wrapper_dbus
#define dbus_connection_read_write_dispatch dbus_connection_read_write_dispatch_dylibloader_wrapper_dbus
#define dbus_connection_read_write dbus_connection_read_write_dylibloader_wrapper_dbus
#define dbus_connection_borrow_message dbus_connection_borrow_message_dylibloader_wrapper_dbus
#define dbus_connection_return_message dbus_connection_return_message_dylibloader_wrapper_dbus
#define dbus_connection_steal_borrowed_message dbus_connection_steal_borrowed_message_dylibloader_wrapper_dbus
#define dbus_connection_pop_message dbus_connection_pop_message_dylibloader_wrapper_dbus
#define dbus_connection_get_dispatch_status dbus_connection_get_dispatch_status_dylibloader_wrapper_dbus
#define dbus_connection_dispatch dbus_connection_dispatch_dylibloader_wrapper_dbus
#define dbus_connection_has_messages_to_send dbus_connection_has_messages_to_send_dylibloader_wrapper_dbus
#define dbus_connection_send dbus_connection_send_dylibloader_wrapper_dbus
#define dbus_connection_send_with_reply dbus_connection_send_with_reply_dylibloader_wrapper_dbus
#define dbus_connection_send_with_reply_and_block dbus_connection_send_with_reply_and_block_dylibloader_wrapper_dbus
#define dbus_connection_set_watch_functions dbus_connection_set_watch_functions_dylibloader_wrapper_dbus
#define dbus_connection_set_timeout_functions dbus_connection_set_timeout_functions_dylibloader_wrapper_dbus
#define dbus_connection_set_wakeup_main_function dbus_connection_set_wakeup_main_function_dylibloader_wrapper_dbus
#define dbus_connection_set_dispatch_status_function dbus_connection_set_dispatch_status_function_dylibloader_wrapper_dbus
#define dbus_connection_get_unix_user dbus_connection_get_unix_user_dylibloader_wrapper_dbus
#define dbus_connection_get_unix_process_id dbus_connection_get_unix_process_id_dylibloader_wrapper_dbus
#define dbus_connection_get_adt_audit_session_data dbus_connection_get_adt_audit_session_data_dylibloader_wrapper_dbus
#define dbus_connection_set_unix_user_function dbus_connection_set_unix_user_function_dylibloader_wrapper_dbus
#define dbus_connection_get_windows_user dbus_connection_get_windows_user_dylibloader_wrapper_dbus
#define dbus_connection_set_windows_user_function dbus_connection_set_windows_user_function_dylibloader_wrapper_dbus
#define dbus_connection_set_allow_anonymous dbus_connection_set_allow_anonymous_dylibloader_wrapper_dbus
#define dbus_connection_set_route_peer_messages dbus_connection_set_route_peer_messages_dylibloader_wrapper_dbus
#define dbus_connection_add_filter dbus_connection_add_filter_dylibloader_wrapper_dbus
#define dbus_connection_remove_filter dbus_connection_remove_filter_dylibloader_wrapper_dbus
#define dbus_connection_allocate_data_slot dbus_connection_allocate_data_slot_dylibloader_wrapper_dbus
#define dbus_connection_free_data_slot dbus_connection_free_data_slot_dylibloader_wrapper_dbus
#define dbus_connection_set_data dbus_connection_set_data_dylibloader_wrapper_dbus
#define dbus_connection_get_data dbus_connection_get_data_dylibloader_wrapper_dbus
#define dbus_connection_set_change_sigpipe dbus_connection_set_change_sigpipe_dylibloader_wrapper_dbus
#define dbus_connection_set_max_message_size dbus_connection_set_max_message_size_dylibloader_wrapper_dbus
#define dbus_connection_get_max_message_size dbus_connection_get_max_message_size_dylibloader_wrapper_dbus
#define dbus_connection_set_max_received_size dbus_connection_set_max_received_size_dylibloader_wrapper_dbus
#define dbus_connection_get_max_received_size dbus_connection_get_max_received_size_dylibloader_wrapper_dbus
#define dbus_connection_set_max_message_unix_fds dbus_connection_set_max_message_unix_fds_dylibloader_wrapper_dbus
#define dbus_connection_get_max_message_unix_fds dbus_connection_get_max_message_unix_fds_dylibloader_wrapper_dbus
#define dbus_connection_set_max_received_unix_fds dbus_connection_set_max_received_unix_fds_dylibloader_wrapper_dbus
#define dbus_connection_get_max_received_unix_fds dbus_connection_get_max_received_unix_fds_dylibloader_wrapper_dbus
#define dbus_connection_get_outgoing_size dbus_connection_get_outgoing_size_dylibloader_wrapper_dbus
#define dbus_connection_get_outgoing_unix_fds dbus_connection_get_outgoing_unix_fds_dylibloader_wrapper_dbus
#define dbus_connection_preallocate_send dbus_connection_preallocate_send_dylibloader_wrapper_dbus
#define dbus_connection_free_preallocated_send dbus_connection_free_preallocated_send_dylibloader_wrapper_dbus
#define dbus_connection_send_preallocated dbus_connection_send_preallocated_dylibloader_wrapper_dbus
#define dbus_connection_try_register_object_path dbus_connection_try_register_object_path_dylibloader_wrapper_dbus
#define dbus_connection_register_object_path dbus_connection_register_object_path_dylibloader_wrapper_dbus
#define dbus_connection_try_register_fallback dbus_connection_try_register_fallback_dylibloader_wrapper_dbus
#define dbus_connection_register_fallback dbus_connection_register_fallback_dylibloader_wrapper_dbus
#define dbus_connection_unregister_object_path dbus_connection_unregister_object_path_dylibloader_wrapper_dbus
#define dbus_connection_get_object_path_data dbus_connection_get_object_path_data_dylibloader_wrapper_dbus
#define dbus_connection_list_registered dbus_connection_list_registered_dylibloader_wrapper_dbus
#define dbus_connection_get_unix_fd dbus_connection_get_unix_fd_dylibloader_wrapper_dbus
#define dbus_connection_get_socket dbus_connection_get_socket_dylibloader_wrapper_dbus
#define dbus_watch_get_fd dbus_watch_get_fd_dylibloader_wrapper_dbus
#define dbus_watch_get_unix_fd dbus_watch_get_unix_fd_dylibloader_wrapper_dbus
#define dbus_watch_get_socket dbus_watch_get_socket_dylibloader_wrapper_dbus
#define dbus_watch_get_flags dbus_watch_get_flags_dylibloader_wrapper_dbus
#define dbus_watch_get_data dbus_watch_get_data_dylibloader_wrapper_dbus
#define dbus_watch_set_data dbus_watch_set_data_dylibloader_wrapper_dbus
#define dbus_watch_handle dbus_watch_handle_dylibloader_wrapper_dbus
#define dbus_watch_get_enabled dbus_watch_get_enabled_dylibloader_wrapper_dbus
#define dbus_timeout_get_interval dbus_timeout_get_interval_dylibloader_wrapper_dbus
#define dbus_timeout_get_data dbus_timeout_get_data_dylibloader_wrapper_dbus
#define dbus_timeout_set_data dbus_timeout_set_data_dylibloader_wrapper_dbus
#define dbus_timeout_handle dbus_timeout_handle_dylibloader_wrapper_dbus
#define dbus_timeout_get_enabled dbus_timeout_get_enabled_dylibloader_wrapper_dbus
#define dbus_bus_get dbus_bus_get_dylibloader_wrapper_dbus
#define dbus_bus_get_private dbus_bus_get_private_dylibloader_wrapper_dbus
#define dbus_bus_register dbus_bus_register_dylibloader_wrapper_dbus
#define dbus_bus_set_unique_name dbus_bus_set_unique_name_dylibloader_wrapper_dbus
#define dbus_bus_get_unique_name dbus_bus_get_unique_name_dylibloader_wrapper_dbus
#define dbus_bus_get_unix_user dbus_bus_get_unix_user_dylibloader_wrapper_dbus
#define dbus_bus_get_id dbus_bus_get_id_dylibloader_wrapper_dbus
#define dbus_bus_request_name dbus_bus_request_name_dylibloader_wrapper_dbus
#define dbus_bus_release_name dbus_bus_release_name_dylibloader_wrapper_dbus
#define dbus_bus_name_has_owner dbus_bus_name_has_owner_dylibloader_wrapper_dbus
#define dbus_bus_start_service_by_name dbus_bus_start_service_by_name_dylibloader_wrapper_dbus
#define dbus_bus_add_match dbus_bus_add_match_dylibloader_wrapper_dbus
#define dbus_bus_remove_match dbus_bus_remove_match_dylibloader_wrapper_dbus
#define dbus_get_local_machine_id dbus_get_local_machine_id_dylibloader_wrapper_dbus
#define dbus_get_version dbus_get_version_dylibloader_wrapper_dbus
#define dbus_setenv dbus_setenv_dylibloader_wrapper_dbus
#define dbus_try_get_local_machine_id dbus_try_get_local_machine_id_dylibloader_wrapper_dbus
#define dbus_pending_call_ref dbus_pending_call_ref_dylibloader_wrapper_dbus
#define dbus_pending_call_unref dbus_pending_call_unref_dylibloader_wrapper_dbus
#define dbus_pending_call_set_notify dbus_pending_call_set_notify_dylibloader_wrapper_dbus
#define dbus_pending_call_cancel dbus_pending_call_cancel_dylibloader_wrapper_dbus
#define dbus_pending_call_get_completed dbus_pending_call_get_completed_dylibloader_wrapper_dbus
#define dbus_pending_call_steal_reply dbus_pending_call_steal_reply_dylibloader_wrapper_dbus
#define dbus_pending_call_block dbus_pending_call_block_dylibloader_wrapper_dbus
#define dbus_pending_call_allocate_data_slot dbus_pending_call_allocate_data_slot_dylibloader_wrapper_dbus
#define dbus_pending_call_free_data_slot dbus_pending_call_free_data_slot_dylibloader_wrapper_dbus
#define dbus_pending_call_set_data dbus_pending_call_set_data_dylibloader_wrapper_dbus
#define dbus_pending_call_get_data dbus_pending_call_get_data_dylibloader_wrapper_dbus
#define dbus_server_listen dbus_server_listen_dylibloader_wrapper_dbus
#define dbus_server_ref dbus_server_ref_dylibloader_wrapper_dbus
#define dbus_server_unref dbus_server_unref_dylibloader_wrapper_dbus
#define dbus_server_disconnect dbus_server_disconnect_dylibloader_wrapper_dbus
#define dbus_server_get_is_connected dbus_server_get_is_connected_dylibloader_wrapper_dbus
#define dbus_server_get_address dbus_server_get_address_dylibloader_wrapper_dbus
#define dbus_server_get_id dbus_server_get_id_dylibloader_wrapper_dbus
#define dbus_server_set_new_connection_function dbus_server_set_new_connection_function_dylibloader_wrapper_dbus
#define dbus_server_set_watch_functions dbus_server_set_watch_functions_dylibloader_wrapper_dbus
#define dbus_server_set_timeout_functions dbus_server_set_timeout_functions_dylibloader_wrapper_dbus
#define dbus_server_set_auth_mechanisms dbus_server_set_auth_mechanisms_dylibloader_wrapper_dbus
#define dbus_server_allocate_data_slot dbus_server_allocate_data_slot_dylibloader_wrapper_dbus
#define dbus_server_free_data_slot dbus_server_free_data_slot_dylibloader_wrapper_dbus
#define dbus_server_set_data dbus_server_set_data_dylibloader_wrapper_dbus
#define dbus_server_get_data dbus_server_get_data_dylibloader_wrapper_dbus
#define dbus_signature_iter_init dbus_signature_iter_init_dylibloader_wrapper_dbus
#define dbus_signature_iter_get_current_type dbus_signature_iter_get_current_type_dylibloader_wrapper_dbus
#define dbus_signature_iter_get_signature dbus_signature_iter_get_signature_dylibloader_wrapper_dbus
#define dbus_signature_iter_get_element_type dbus_signature_iter_get_element_type_dylibloader_wrapper_dbus
#define dbus_signature_iter_next dbus_signature_iter_next_dylibloader_wrapper_dbus
#define dbus_signature_iter_recurse dbus_signature_iter_recurse_dylibloader_wrapper_dbus
#define dbus_signature_validate dbus_signature_validate_dylibloader_wrapper_dbus
#define dbus_signature_validate_single dbus_signature_validate_single_dylibloader_wrapper_dbus
#define dbus_type_is_valid dbus_type_is_valid_dylibloader_wrapper_dbus
#define dbus_type_is_basic dbus_type_is_basic_dylibloader_wrapper_dbus
#define dbus_type_is_container dbus_type_is_container_dylibloader_wrapper_dbus
#define dbus_type_is_fixed dbus_type_is_fixed_dylibloader_wrapper_dbus
#define dbus_validate_path dbus_validate_path_dylibloader_wrapper_dbus
#define dbus_validate_interface dbus_validate_interface_dylibloader_wrapper_dbus
#define dbus_validate_member dbus_validate_member_dylibloader_wrapper_dbus
#define dbus_validate_error_name dbus_validate_error_name_dylibloader_wrapper_dbus
#define dbus_validate_bus_name dbus_validate_bus_name_dylibloader_wrapper_dbus
#define dbus_validate_utf8 dbus_validate_utf8_dylibloader_wrapper_dbus
#define dbus_threads_init dbus_threads_init_dylibloader_wrapper_dbus
#define dbus_threads_init_default dbus_threads_init_default_dylibloader_wrapper_dbus
extern void (*dbus_error_init_dylibloader_wrapper_dbus)( DBusError*);
extern void (*dbus_error_free_dylibloader_wrapper_dbus)( DBusError*);
extern void (*dbus_set_error_dylibloader_wrapper_dbus)( DBusError*,const char*,const char*,...);
extern void (*dbus_set_error_const_dylibloader_wrapper_dbus)( DBusError*,const char*,const char*);
extern void (*dbus_move_error_dylibloader_wrapper_dbus)( DBusError*, DBusError*);
extern dbus_bool_t (*dbus_error_has_name_dylibloader_wrapper_dbus)(const DBusError*,const char*);
extern dbus_bool_t (*dbus_error_is_set_dylibloader_wrapper_dbus)(const DBusError*);
extern dbus_bool_t (*dbus_parse_address_dylibloader_wrapper_dbus)(const char*, DBusAddressEntry***, int*, DBusError*);
extern const char* (*dbus_address_entry_get_value_dylibloader_wrapper_dbus)( DBusAddressEntry*,const char*);
extern const char* (*dbus_address_entry_get_method_dylibloader_wrapper_dbus)( DBusAddressEntry*);
extern void (*dbus_address_entries_free_dylibloader_wrapper_dbus)( DBusAddressEntry**);
extern char* (*dbus_address_escape_value_dylibloader_wrapper_dbus)(const char*);
extern char* (*dbus_address_unescape_value_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern void* (*dbus_malloc_dylibloader_wrapper_dbus)( size_t);
extern void* (*dbus_malloc0_dylibloader_wrapper_dbus)( size_t);
extern void* (*dbus_realloc_dylibloader_wrapper_dbus)( void*, size_t);
extern void (*dbus_free_dylibloader_wrapper_dbus)( void*);
extern void (*dbus_free_string_array_dylibloader_wrapper_dbus)( char**);
extern void (*dbus_shutdown_dylibloader_wrapper_dbus)( void);
extern DBusMessage* (*dbus_message_new_dylibloader_wrapper_dbus)( int);
extern DBusMessage* (*dbus_message_new_method_call_dylibloader_wrapper_dbus)(const char*,const char*,const char*,const char*);
extern DBusMessage* (*dbus_message_new_method_return_dylibloader_wrapper_dbus)( DBusMessage*);
extern DBusMessage* (*dbus_message_new_signal_dylibloader_wrapper_dbus)(const char*,const char*,const char*);
extern DBusMessage* (*dbus_message_new_error_dylibloader_wrapper_dbus)( DBusMessage*,const char*,const char*);
extern DBusMessage* (*dbus_message_new_error_printf_dylibloader_wrapper_dbus)( DBusMessage*,const char*,const char*,...);
extern DBusMessage* (*dbus_message_copy_dylibloader_wrapper_dbus)(const DBusMessage*);
extern DBusMessage* (*dbus_message_ref_dylibloader_wrapper_dbus)( DBusMessage*);
extern void (*dbus_message_unref_dylibloader_wrapper_dbus)( DBusMessage*);
extern int (*dbus_message_get_type_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_set_path_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_path_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_has_path_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_set_interface_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_interface_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_has_interface_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_set_member_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_member_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_has_member_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_set_error_name_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_error_name_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_set_destination_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_destination_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_set_sender_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern const char* (*dbus_message_get_sender_dylibloader_wrapper_dbus)( DBusMessage*);
extern const char* (*dbus_message_get_signature_dylibloader_wrapper_dbus)( DBusMessage*);
extern void (*dbus_message_set_no_reply_dylibloader_wrapper_dbus)( DBusMessage*, dbus_bool_t);
extern dbus_bool_t (*dbus_message_get_no_reply_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_is_method_call_dylibloader_wrapper_dbus)( DBusMessage*,const char*,const char*);
extern dbus_bool_t (*dbus_message_is_signal_dylibloader_wrapper_dbus)( DBusMessage*,const char*,const char*);
extern dbus_bool_t (*dbus_message_is_error_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_has_destination_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_has_sender_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_bool_t (*dbus_message_has_signature_dylibloader_wrapper_dbus)( DBusMessage*,const char*);
extern dbus_uint32_t (*dbus_message_get_serial_dylibloader_wrapper_dbus)( DBusMessage*);
extern void (*dbus_message_set_serial_dylibloader_wrapper_dbus)( DBusMessage*, dbus_uint32_t);
extern dbus_bool_t (*dbus_message_set_reply_serial_dylibloader_wrapper_dbus)( DBusMessage*, dbus_uint32_t);
extern dbus_uint32_t (*dbus_message_get_reply_serial_dylibloader_wrapper_dbus)( DBusMessage*);
extern void (*dbus_message_set_auto_start_dylibloader_wrapper_dbus)( DBusMessage*, dbus_bool_t);
extern dbus_bool_t (*dbus_message_get_auto_start_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_message_get_path_decomposed_dylibloader_wrapper_dbus)( DBusMessage*, char***);
extern dbus_bool_t (*dbus_message_append_args_dylibloader_wrapper_dbus)( DBusMessage*, int,...);
extern dbus_bool_t (*dbus_message_append_args_valist_dylibloader_wrapper_dbus)( DBusMessage*, int, va_list);
extern dbus_bool_t (*dbus_message_get_args_dylibloader_wrapper_dbus)( DBusMessage*, DBusError*, int,...);
extern dbus_bool_t (*dbus_message_get_args_valist_dylibloader_wrapper_dbus)( DBusMessage*, DBusError*, int, va_list);
extern dbus_bool_t (*dbus_message_contains_unix_fds_dylibloader_wrapper_dbus)( DBusMessage*);
extern void (*dbus_message_iter_init_closed_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern dbus_bool_t (*dbus_message_iter_init_dylibloader_wrapper_dbus)( DBusMessage*, DBusMessageIter*);
extern dbus_bool_t (*dbus_message_iter_has_next_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern dbus_bool_t (*dbus_message_iter_next_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern char* (*dbus_message_iter_get_signature_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern int (*dbus_message_iter_get_arg_type_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern int (*dbus_message_iter_get_element_type_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern void (*dbus_message_iter_recurse_dylibloader_wrapper_dbus)( DBusMessageIter*, DBusMessageIter*);
extern void (*dbus_message_iter_get_basic_dylibloader_wrapper_dbus)( DBusMessageIter*, void*);
extern int (*dbus_message_iter_get_element_count_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern int (*dbus_message_iter_get_array_len_dylibloader_wrapper_dbus)( DBusMessageIter*);
extern void (*dbus_message_iter_get_fixed_array_dylibloader_wrapper_dbus)( DBusMessageIter*, void*, int*);
extern void (*dbus_message_iter_init_append_dylibloader_wrapper_dbus)( DBusMessage*, DBusMessageIter*);
extern dbus_bool_t (*dbus_message_iter_append_basic_dylibloader_wrapper_dbus)( DBusMessageIter*, int,const void*);
extern dbus_bool_t (*dbus_message_iter_append_fixed_array_dylibloader_wrapper_dbus)( DBusMessageIter*, int,const void*, int);
extern dbus_bool_t (*dbus_message_iter_open_container_dylibloader_wrapper_dbus)( DBusMessageIter*, int,const char*, DBusMessageIter*);
extern dbus_bool_t (*dbus_message_iter_close_container_dylibloader_wrapper_dbus)( DBusMessageIter*, DBusMessageIter*);
extern void (*dbus_message_iter_abandon_container_dylibloader_wrapper_dbus)( DBusMessageIter*, DBusMessageIter*);
extern void (*dbus_message_iter_abandon_container_if_open_dylibloader_wrapper_dbus)( DBusMessageIter*, DBusMessageIter*);
extern void (*dbus_message_lock_dylibloader_wrapper_dbus)( DBusMessage*);
extern dbus_bool_t (*dbus_set_error_from_message_dylibloader_wrapper_dbus)( DBusError*, DBusMessage*);
extern dbus_bool_t (*dbus_message_allocate_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern void (*dbus_message_free_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern dbus_bool_t (*dbus_message_set_data_dylibloader_wrapper_dbus)( DBusMessage*, dbus_int32_t, void*, DBusFreeFunction);
extern void* (*dbus_message_get_data_dylibloader_wrapper_dbus)( DBusMessage*, dbus_int32_t);
extern int (*dbus_message_type_from_string_dylibloader_wrapper_dbus)(const char*);
extern const char* (*dbus_message_type_to_string_dylibloader_wrapper_dbus)( int);
extern dbus_bool_t (*dbus_message_marshal_dylibloader_wrapper_dbus)( DBusMessage*, char**, int*);
extern DBusMessage* (*dbus_message_demarshal_dylibloader_wrapper_dbus)(const char*, int, DBusError*);
extern int (*dbus_message_demarshal_bytes_needed_dylibloader_wrapper_dbus)(const char*, int);
extern void (*dbus_message_set_allow_interactive_authorization_dylibloader_wrapper_dbus)( DBusMessage*, dbus_bool_t);
extern dbus_bool_t (*dbus_message_get_allow_interactive_authorization_dylibloader_wrapper_dbus)( DBusMessage*);
extern DBusConnection* (*dbus_connection_open_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern DBusConnection* (*dbus_connection_open_private_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern DBusConnection* (*dbus_connection_ref_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_unref_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_close_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_get_is_connected_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_get_is_authenticated_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_get_is_anonymous_dylibloader_wrapper_dbus)( DBusConnection*);
extern char* (*dbus_connection_get_server_id_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_can_send_type_dylibloader_wrapper_dbus)( DBusConnection*, int);
extern void (*dbus_connection_set_exit_on_disconnect_dylibloader_wrapper_dbus)( DBusConnection*, dbus_bool_t);
extern void (*dbus_connection_flush_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_read_write_dispatch_dylibloader_wrapper_dbus)( DBusConnection*, int);
extern dbus_bool_t (*dbus_connection_read_write_dylibloader_wrapper_dbus)( DBusConnection*, int);
extern DBusMessage* (*dbus_connection_borrow_message_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_return_message_dylibloader_wrapper_dbus)( DBusConnection*, DBusMessage*);
extern void (*dbus_connection_steal_borrowed_message_dylibloader_wrapper_dbus)( DBusConnection*, DBusMessage*);
extern DBusMessage* (*dbus_connection_pop_message_dylibloader_wrapper_dbus)( DBusConnection*);
extern DBusDispatchStatus (*dbus_connection_get_dispatch_status_dylibloader_wrapper_dbus)( DBusConnection*);
extern DBusDispatchStatus (*dbus_connection_dispatch_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_has_messages_to_send_dylibloader_wrapper_dbus)( DBusConnection*);
extern dbus_bool_t (*dbus_connection_send_dylibloader_wrapper_dbus)( DBusConnection*, DBusMessage*, dbus_uint32_t*);
extern dbus_bool_t (*dbus_connection_send_with_reply_dylibloader_wrapper_dbus)( DBusConnection*, DBusMessage*, DBusPendingCall**, int);
extern DBusMessage* (*dbus_connection_send_with_reply_and_block_dylibloader_wrapper_dbus)( DBusConnection*, DBusMessage*, int, DBusError*);
extern dbus_bool_t (*dbus_connection_set_watch_functions_dylibloader_wrapper_dbus)( DBusConnection*, DBusAddWatchFunction, DBusRemoveWatchFunction, DBusWatchToggledFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_connection_set_timeout_functions_dylibloader_wrapper_dbus)( DBusConnection*, DBusAddTimeoutFunction, DBusRemoveTimeoutFunction, DBusTimeoutToggledFunction, void*, DBusFreeFunction);
extern void (*dbus_connection_set_wakeup_main_function_dylibloader_wrapper_dbus)( DBusConnection*, DBusWakeupMainFunction, void*, DBusFreeFunction);
extern void (*dbus_connection_set_dispatch_status_function_dylibloader_wrapper_dbus)( DBusConnection*, DBusDispatchStatusFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_connection_get_unix_user_dylibloader_wrapper_dbus)( DBusConnection*, unsigned long*);
extern dbus_bool_t (*dbus_connection_get_unix_process_id_dylibloader_wrapper_dbus)( DBusConnection*, unsigned long*);
extern dbus_bool_t (*dbus_connection_get_adt_audit_session_data_dylibloader_wrapper_dbus)( DBusConnection*, void**, dbus_int32_t*);
extern void (*dbus_connection_set_unix_user_function_dylibloader_wrapper_dbus)( DBusConnection*, DBusAllowUnixUserFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_connection_get_windows_user_dylibloader_wrapper_dbus)( DBusConnection*, char**);
extern void (*dbus_connection_set_windows_user_function_dylibloader_wrapper_dbus)( DBusConnection*, DBusAllowWindowsUserFunction, void*, DBusFreeFunction);
extern void (*dbus_connection_set_allow_anonymous_dylibloader_wrapper_dbus)( DBusConnection*, dbus_bool_t);
extern void (*dbus_connection_set_route_peer_messages_dylibloader_wrapper_dbus)( DBusConnection*, dbus_bool_t);
extern dbus_bool_t (*dbus_connection_add_filter_dylibloader_wrapper_dbus)( DBusConnection*, DBusHandleMessageFunction, void*, DBusFreeFunction);
extern void (*dbus_connection_remove_filter_dylibloader_wrapper_dbus)( DBusConnection*, DBusHandleMessageFunction, void*);
extern dbus_bool_t (*dbus_connection_allocate_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern void (*dbus_connection_free_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern dbus_bool_t (*dbus_connection_set_data_dylibloader_wrapper_dbus)( DBusConnection*, dbus_int32_t, void*, DBusFreeFunction);
extern void* (*dbus_connection_get_data_dylibloader_wrapper_dbus)( DBusConnection*, dbus_int32_t);
extern void (*dbus_connection_set_change_sigpipe_dylibloader_wrapper_dbus)( dbus_bool_t);
extern void (*dbus_connection_set_max_message_size_dylibloader_wrapper_dbus)( DBusConnection*, long);
extern long (*dbus_connection_get_max_message_size_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_set_max_received_size_dylibloader_wrapper_dbus)( DBusConnection*, long);
extern long (*dbus_connection_get_max_received_size_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_set_max_message_unix_fds_dylibloader_wrapper_dbus)( DBusConnection*, long);
extern long (*dbus_connection_get_max_message_unix_fds_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_set_max_received_unix_fds_dylibloader_wrapper_dbus)( DBusConnection*, long);
extern long (*dbus_connection_get_max_received_unix_fds_dylibloader_wrapper_dbus)( DBusConnection*);
extern long (*dbus_connection_get_outgoing_size_dylibloader_wrapper_dbus)( DBusConnection*);
extern long (*dbus_connection_get_outgoing_unix_fds_dylibloader_wrapper_dbus)( DBusConnection*);
extern DBusPreallocatedSend* (*dbus_connection_preallocate_send_dylibloader_wrapper_dbus)( DBusConnection*);
extern void (*dbus_connection_free_preallocated_send_dylibloader_wrapper_dbus)( DBusConnection*, DBusPreallocatedSend*);
extern void (*dbus_connection_send_preallocated_dylibloader_wrapper_dbus)( DBusConnection*, DBusPreallocatedSend*, DBusMessage*, dbus_uint32_t*);
extern dbus_bool_t (*dbus_connection_try_register_object_path_dylibloader_wrapper_dbus)( DBusConnection*,const char*,const DBusObjectPathVTable*, void*, DBusError*);
extern dbus_bool_t (*dbus_connection_register_object_path_dylibloader_wrapper_dbus)( DBusConnection*,const char*,const DBusObjectPathVTable*, void*);
extern dbus_bool_t (*dbus_connection_try_register_fallback_dylibloader_wrapper_dbus)( DBusConnection*,const char*,const DBusObjectPathVTable*, void*, DBusError*);
extern dbus_bool_t (*dbus_connection_register_fallback_dylibloader_wrapper_dbus)( DBusConnection*,const char*,const DBusObjectPathVTable*, void*);
extern dbus_bool_t (*dbus_connection_unregister_object_path_dylibloader_wrapper_dbus)( DBusConnection*,const char*);
extern dbus_bool_t (*dbus_connection_get_object_path_data_dylibloader_wrapper_dbus)( DBusConnection*,const char*, void**);
extern dbus_bool_t (*dbus_connection_list_registered_dylibloader_wrapper_dbus)( DBusConnection*,const char*, char***);
extern dbus_bool_t (*dbus_connection_get_unix_fd_dylibloader_wrapper_dbus)( DBusConnection*, int*);
extern dbus_bool_t (*dbus_connection_get_socket_dylibloader_wrapper_dbus)( DBusConnection*, int*);
extern int (*dbus_watch_get_fd_dylibloader_wrapper_dbus)( DBusWatch*);
extern int (*dbus_watch_get_unix_fd_dylibloader_wrapper_dbus)( DBusWatch*);
extern int (*dbus_watch_get_socket_dylibloader_wrapper_dbus)( DBusWatch*);
extern unsigned int (*dbus_watch_get_flags_dylibloader_wrapper_dbus)( DBusWatch*);
extern void* (*dbus_watch_get_data_dylibloader_wrapper_dbus)( DBusWatch*);
extern void (*dbus_watch_set_data_dylibloader_wrapper_dbus)( DBusWatch*, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_watch_handle_dylibloader_wrapper_dbus)( DBusWatch*, unsigned int);
extern dbus_bool_t (*dbus_watch_get_enabled_dylibloader_wrapper_dbus)( DBusWatch*);
extern int (*dbus_timeout_get_interval_dylibloader_wrapper_dbus)( DBusTimeout*);
extern void* (*dbus_timeout_get_data_dylibloader_wrapper_dbus)( DBusTimeout*);
extern void (*dbus_timeout_set_data_dylibloader_wrapper_dbus)( DBusTimeout*, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_timeout_handle_dylibloader_wrapper_dbus)( DBusTimeout*);
extern dbus_bool_t (*dbus_timeout_get_enabled_dylibloader_wrapper_dbus)( DBusTimeout*);
extern DBusConnection* (*dbus_bus_get_dylibloader_wrapper_dbus)( DBusBusType, DBusError*);
extern DBusConnection* (*dbus_bus_get_private_dylibloader_wrapper_dbus)( DBusBusType, DBusError*);
extern dbus_bool_t (*dbus_bus_register_dylibloader_wrapper_dbus)( DBusConnection*, DBusError*);
extern dbus_bool_t (*dbus_bus_set_unique_name_dylibloader_wrapper_dbus)( DBusConnection*,const char*);
extern const char* (*dbus_bus_get_unique_name_dylibloader_wrapper_dbus)( DBusConnection*);
extern unsigned long (*dbus_bus_get_unix_user_dylibloader_wrapper_dbus)( DBusConnection*,const char*, DBusError*);
extern char* (*dbus_bus_get_id_dylibloader_wrapper_dbus)( DBusConnection*, DBusError*);
extern int (*dbus_bus_request_name_dylibloader_wrapper_dbus)( DBusConnection*,const char*, unsigned int, DBusError*);
extern int (*dbus_bus_release_name_dylibloader_wrapper_dbus)( DBusConnection*,const char*, DBusError*);
extern dbus_bool_t (*dbus_bus_name_has_owner_dylibloader_wrapper_dbus)( DBusConnection*,const char*, DBusError*);
extern dbus_bool_t (*dbus_bus_start_service_by_name_dylibloader_wrapper_dbus)( DBusConnection*,const char*, dbus_uint32_t, dbus_uint32_t*, DBusError*);
extern void (*dbus_bus_add_match_dylibloader_wrapper_dbus)( DBusConnection*,const char*, DBusError*);
extern void (*dbus_bus_remove_match_dylibloader_wrapper_dbus)( DBusConnection*,const char*, DBusError*);
extern char* (*dbus_get_local_machine_id_dylibloader_wrapper_dbus)( void);
extern void (*dbus_get_version_dylibloader_wrapper_dbus)( int*, int*, int*);
extern dbus_bool_t (*dbus_setenv_dylibloader_wrapper_dbus)(const char*,const char*);
extern char* (*dbus_try_get_local_machine_id_dylibloader_wrapper_dbus)( DBusError*);
extern DBusPendingCall* (*dbus_pending_call_ref_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern void (*dbus_pending_call_unref_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern dbus_bool_t (*dbus_pending_call_set_notify_dylibloader_wrapper_dbus)( DBusPendingCall*, DBusPendingCallNotifyFunction, void*, DBusFreeFunction);
extern void (*dbus_pending_call_cancel_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern dbus_bool_t (*dbus_pending_call_get_completed_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern DBusMessage* (*dbus_pending_call_steal_reply_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern void (*dbus_pending_call_block_dylibloader_wrapper_dbus)( DBusPendingCall*);
extern dbus_bool_t (*dbus_pending_call_allocate_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern void (*dbus_pending_call_free_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern dbus_bool_t (*dbus_pending_call_set_data_dylibloader_wrapper_dbus)( DBusPendingCall*, dbus_int32_t, void*, DBusFreeFunction);
extern void* (*dbus_pending_call_get_data_dylibloader_wrapper_dbus)( DBusPendingCall*, dbus_int32_t);
extern DBusServer* (*dbus_server_listen_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern DBusServer* (*dbus_server_ref_dylibloader_wrapper_dbus)( DBusServer*);
extern void (*dbus_server_unref_dylibloader_wrapper_dbus)( DBusServer*);
extern void (*dbus_server_disconnect_dylibloader_wrapper_dbus)( DBusServer*);
extern dbus_bool_t (*dbus_server_get_is_connected_dylibloader_wrapper_dbus)( DBusServer*);
extern char* (*dbus_server_get_address_dylibloader_wrapper_dbus)( DBusServer*);
extern char* (*dbus_server_get_id_dylibloader_wrapper_dbus)( DBusServer*);
extern void (*dbus_server_set_new_connection_function_dylibloader_wrapper_dbus)( DBusServer*, DBusNewConnectionFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_server_set_watch_functions_dylibloader_wrapper_dbus)( DBusServer*, DBusAddWatchFunction, DBusRemoveWatchFunction, DBusWatchToggledFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_server_set_timeout_functions_dylibloader_wrapper_dbus)( DBusServer*, DBusAddTimeoutFunction, DBusRemoveTimeoutFunction, DBusTimeoutToggledFunction, void*, DBusFreeFunction);
extern dbus_bool_t (*dbus_server_set_auth_mechanisms_dylibloader_wrapper_dbus)( DBusServer*,const char**);
extern dbus_bool_t (*dbus_server_allocate_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern void (*dbus_server_free_data_slot_dylibloader_wrapper_dbus)( dbus_int32_t*);
extern dbus_bool_t (*dbus_server_set_data_dylibloader_wrapper_dbus)( DBusServer*, int, void*, DBusFreeFunction);
extern void* (*dbus_server_get_data_dylibloader_wrapper_dbus)( DBusServer*, int);
extern void (*dbus_signature_iter_init_dylibloader_wrapper_dbus)( DBusSignatureIter*,const char*);
extern int (*dbus_signature_iter_get_current_type_dylibloader_wrapper_dbus)(const DBusSignatureIter*);
extern char* (*dbus_signature_iter_get_signature_dylibloader_wrapper_dbus)(const DBusSignatureIter*);
extern int (*dbus_signature_iter_get_element_type_dylibloader_wrapper_dbus)(const DBusSignatureIter*);
extern dbus_bool_t (*dbus_signature_iter_next_dylibloader_wrapper_dbus)( DBusSignatureIter*);
extern void (*dbus_signature_iter_recurse_dylibloader_wrapper_dbus)(const DBusSignatureIter*, DBusSignatureIter*);
extern dbus_bool_t (*dbus_signature_validate_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_signature_validate_single_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_type_is_valid_dylibloader_wrapper_dbus)( int);
extern dbus_bool_t (*dbus_type_is_basic_dylibloader_wrapper_dbus)( int);
extern dbus_bool_t (*dbus_type_is_container_dylibloader_wrapper_dbus)( int);
extern dbus_bool_t (*dbus_type_is_fixed_dylibloader_wrapper_dbus)( int);
extern dbus_bool_t (*dbus_validate_path_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_validate_interface_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_validate_member_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_validate_error_name_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_validate_bus_name_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_validate_utf8_dylibloader_wrapper_dbus)(const char*, DBusError*);
extern dbus_bool_t (*dbus_threads_init_dylibloader_wrapper_dbus)(const DBusThreadFunctions*);
extern dbus_bool_t (*dbus_threads_init_default_dylibloader_wrapper_dbus)( void);
int initialize_dbus(int verbose);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -325,7 +325,7 @@ def configure(env):
if env["dbus"]:
if os.system("pkg-config --exists dbus-1") == 0: # 0 means found
env.Append(CPPDEFINES=["DBUS_ENABLED"])
env.ParseConfig("pkg-config dbus-1 --cflags --libs")
env.ParseConfig("pkg-config dbus-1 --cflags") # Only cflags, we dlopen the library.
else:
print("Warning: D-Bus development libraries not found. Disabling screensaver prevention.")

View File

@ -34,7 +34,7 @@
#include "core/config/project_settings.h"
#include <dbus/dbus.h>
#include "dbus-so_wrap.h"
#define BUS_OBJECT_NAME "org.freedesktop.ScreenSaver"
#define BUS_OBJECT_PATH "/org/freedesktop/ScreenSaver"
@ -126,4 +126,13 @@ void FreeDesktopScreenSaver::uninhibit() {
dbus_connection_unref(bus);
}
FreeDesktopScreenSaver::FreeDesktopScreenSaver() {
#ifdef DEBUG_ENABLED
int dylibloader_verbose = 1;
#else
int dylibloader_verbose = 0;
#endif
unsupported = (initialize_dbus(dylibloader_verbose) != 0);
}
#endif // DBUS_ENABLED

View File

@ -33,7 +33,6 @@
#ifdef DBUS_ENABLED
#include <dbus/dbus.h>
#include <stdint.h>
class FreeDesktopScreenSaver {
@ -42,7 +41,7 @@ private:
bool unsupported = false;
public:
FreeDesktopScreenSaver() {}
FreeDesktopScreenSaver();
void inhibit();
void uninhibit();
};