.SH "NAME" sd-bus - A lightweight D-Bus IPC client library
.SH "SYNOPSIS"
#include <systemd/sd-bus.h>
.HP 912u
pkg-config --cflags --libs libsystemd
.SH "DESCRIPTION"
.PP sd-bus.h is part of libsystemd(3) and provides an implementation
of a D-Bus IPC client. See https://www.freedesktop.org/software/dbus/
for more information about D-Bus IPC.
.PP See
sd_bus_add_object_vtable(3),
sd_bus_add_fallback(3),
sd_bus_add_fallback_vtable(3),
sd_bus_add_filter(3),
sd_bus_call_async(3),
sd_bus_call_method_async(3),
sd_bus_emit_interfaces_added(3),
sd_bus_emit_interfaces_added_strv(3),
sd_bus_emit_interfaces_removed(3),
sd_bus_emit_interfaces_removed_strv(3),
sd_bus_emit_object_added(3),
sd_bus_emit_object_removed(3),
sd_bus_emit_properties_changed(3),
sd_bus_emit_properties_changed_strv(3),
sd_bus_emit_signalv(3),
sd_bus_emit_signal_to(3),
sd_bus_emit_signal_tov(3),
sd_bus_get_address(3),
sd_bus_get_allow_interactive_authorization(3),
sd_bus_get_bus_id(3),
sd_bus_get_creds_mask(3),
sd_bus_get_current_message(3),
sd_bus_get_current_slot(3),
sd_bus_get_current_userdata(3),
sd_bus_get_exit_on_disconnect(3),
sd_bus_get_method_call_timeout(3),
sd_bus_get_owner_creds(3),
sd_bus_get_property(3),
sd_bus_get_property_string(3),
sd_bus_get_property_strv(3),
sd_bus_get_property_trivial(3),
sd_bus_get_scope(3),
sd_bus_get_tid(3),
sd_bus_get_unique_name(3),
sd_bus_is_bus_client(3),
sd_bus_is_monitor(3),
sd_bus_is_server(3),
sd_bus_message_close_container(3),
sd_bus_message_enter_container(3),
sd_bus_message_exit_container(3),
sd_bus_message_get_allow_interactive_authorization(3),
sd_bus_message_get_creds(3),
sd_bus_message_get_errno(3),
sd_bus_message_get_error(3),
sd_bus_message_get_sender(3),
sd_bus_message_new_signal_to(3),
sd_bus_message_peek_type(3),
sd_bus_message_send(3),
sd_bus_message_set_allow_interactive_authorization(3),
sd_bus_message_set_sender(3),
sd_bus_query_sender_privilege(3),
sd_bus_send_to(3),
sd_bus_set_allow_interactive_authorization(3),
sd_bus_set_bus_client(3),
sd_bus_set_monitor(3),
sd_bus_set_propertyv(3),
sd_bus_slot_get_current_handler(3),
sd_bus_slot_get_current_message(3),
sd_bus_slot_get_current_userdata(3),
for more information about the functions available.
.PP The busctl(1) tool makes the functionality implemented by sd-bus
available from the command line.
.SH "NOTES"
.PP Functions described here are available as a shared library, which can be
compiled against and linked to with the
libsystemd pkg-config(1) file.
.PP The code described here uses getenv(3), which is declared to be
not multi-thread-safe. This means that the code calling the functions
described here must not call setenv(3) from a parallel thread. It is
recommended to only do calls to setenv() from an early phase of the
program when no other threads have been started.
.SH "SEE ALSO"
.PP systemd(1), sd-event(3), busctl(1),
sd-varlink(3), dbus-daemon(1), dbus-send(1),
pkg-config(1)