SD-BUS(3)

NAME
sd-bus - A lightweight D-Bus IPC client library

SYNOPSIS

#include <systemd/sd-bus.h>

pkg-config --cflags --libs libsystemd

DESCRIPTION

sd-bus.h provides an implementation of a D-Bus IPC client. See https://www.freedesktop.org/software/dbus/ for more information about D-Bus IPC.

See

    sd_bus_add_match(3),
    sd_bus_attach_event(3),
    sd_bus_creds_get_pid(3),
    sd_bus_creds_new_from_pid(3),
    sd_bus_close(3),
    sd_bus_default(3),
    sd-bus-errors(3),
    sd_bus_error(3),
    sd_bus_error_add_map(3),
    sd_bus_get_fd(3),
    sd_bus_get_n_queued_read(3),
    sd_bus_message_append(3),
    sd_bus_message_append_array(3),
    sd_bus_message_append_basic(3),
    sd_bus_message_append_string_memfd(3),
    sd_bus_message_append_strv(3),
    sd_bus_message_copy(3),
    sd_bus_message_get_cookie(3),
    sd_bus_message_get_monotonic_usec(3),
    sd_bus_message_get_signature(3),
    sd_bus_message_get_type(3),
    sd_bus_message_new(3),
    sd_bus_message_new_method_call(3),
    sd_bus_message_new_method_error(3),
    sd_bus_message_new_signal(3),
    sd_bus_message_read(3),
    sd_bus_message_read_array(3),
    sd_bus_message_read_basic(3),
    sd_bus_message_rewind(3),
    sd_bus_message_set_destination(3),
    sd_bus_message_set_expect_reply(3),
    sd_bus_message_skip(3),
    sd_bus_message_verify_type(3),
    sd_bus_negotiate_fds(3),
    sd_bus_new(3),
    sd_bus_path_encode(3),
    sd_bus_process(3),
    sd_bus_reply_method_error(3),
    sd_bus_request_name(3),
    sd_bus_set_connected_signal(3),
    sd_bus_set_description(3),
    sd_bus_set_sender(3),
    sd_bus_set_watch_bind(3)
    sd_bus_set_close_on_exit(3)
    sd_bus_slot_set_description(3),
    sd_bus_slot_set_destroy_callback(3),
    sd_bus_slot_set_floating(3),
    sd_bus_slot_set_userdata(3),
    sd_bus_track_add_name(3),
    sd_bus_track_new(3)

for more information about the functions available.

NOTES

These APIs are implemented as a shared library, which can be compiled and linked to with the libsystemd pkg-config(1) file.

SEE ALSO

systemd(1), sd-event(3), busctl(1), dbus-daemon(1), dbus-send(1)