1SD-BUS(3) sd-bus SD-BUS(3)
2
3
4
6 sd-bus - A lightweight D-Bus IPC client library
7
9 #include <systemd/sd-bus.h>
10
11 pkg-config --cflags --libs libsystemd
12
14 sd-bus.h provides an implementation of a D-Bus IPC client. See
15 https://www.freedesktop.org/software/dbus/ for more information about
16 D-Bus IPC.
17
18 See
19
20 sd_bus_add_match(3),
21 sd_bus_attach_event(3),
22 sd_bus_creds_get_pid(3),
23 sd_bus_creds_new_from_pid(3),
24 sd_bus_close(3),
25 sd_bus_default(3),
26 sd-bus-errors(3),
27 sd_bus_error(3),
28 sd_bus_error_add_map(3),
29 sd_bus_get_fd(3),
30 sd_bus_get_n_queued_read(3),
31 sd_bus_message_append(3),
32 sd_bus_message_append_array(3),
33 sd_bus_message_append_basic(3),
34 sd_bus_message_append_string_memfd(3),
35 sd_bus_message_append_strv(3),
36 sd_bus_message_copy(3),
37 sd_bus_message_get_cookie(3),
38 sd_bus_message_get_monotonic_usec(3),
39 sd_bus_message_get_signature(3),
40 sd_bus_message_get_type(3),
41 sd_bus_message_new(3),
42 sd_bus_message_new_method_call(3),
43 sd_bus_message_new_method_error(3),
44 sd_bus_message_new_signal(3),
45 sd_bus_message_read(3),
46 sd_bus_message_read_array(3),
47 sd_bus_message_read_basic(3),
48 sd_bus_message_rewind(3),
49 sd_bus_message_set_destination(3),
50 sd_bus_message_set_expect_reply(3),
51 sd_bus_message_skip(3),
52 sd_bus_message_verify_type(3),
53 sd_bus_negotiate_fds(3),
54 sd_bus_new(3),
55 sd_bus_path_encode(3),
56 sd_bus_process(3),
57 sd_bus_reply_method_error(3),
58 sd_bus_request_name(3),
59 sd_bus_set_connected_signal(3),
60 sd_bus_set_description(3),
61 sd_bus_set_sender(3),
62 sd_bus_set_watch_bind(3)
63 sd_bus_set_close_on_exit(3)
64 sd_bus_slot_set_description(3),
65 sd_bus_slot_set_destroy_callback(3),
66 sd_bus_slot_set_floating(3),
67 sd_bus_slot_set_userdata(3),
68 sd_bus_track_add_name(3),
69 sd_bus_track_new(3)
70
71 for more information about the functions available.
72
74 These APIs are implemented as a shared library, which can be compiled
75 and linked to with the libsystemd pkg-config(1) file.
76
78 systemd(1), sd-event(3), busctl(1), dbus-daemon(1), dbus-send(1)
79
80
81
82systemd 241 SD-BUS(3)