1SD-BUS(3)                           sd-bus                           SD-BUS(3)
2
3
4

NAME

6       sd-bus - A lightweight D-Bus IPC client library
7

SYNOPSIS

9       #include <systemd/sd-bus.h>
10
11       pkg-config --cflags --libs libsystemd
12

DESCRIPTION

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_add_object(3),
22           sd_bus_add_object_manager(3),
23           sd_bus_add_object_vtable(3),
24           sd_bus_add_fallback(3),
25           sd_bus_add_fallback_vtable(3),
26           sd_bus_add_filter(3),
27           sd_bus_add_node_enumerator(3),
28           sd_bus_attach_event(3),
29           sd_bus_call(3),
30           sd_bus_call_async(3),
31           sd_bus_call_method(3),
32           sd_bus_call_method_async(3),
33           sd_bus_can_send(3),
34           sd_bus_close(3),
35           sd_bus_creds_get_pid(3),
36           sd_bus_creds_new_from_pid(3),
37           sd_bus_default(3),
38           sd_bus_emit_interfaces_added(3),
39           sd_bus_emit_interfaces_added_strv(3),
40           sd_bus_emit_interfaces_removed(3),
41           sd_bus_emit_interfaces_removed_strv(3),
42           sd_bus_emit_object_added(3),
43           sd_bus_emit_object_removed(3),
44           sd_bus_emit_properties_changed(3),
45           sd_bus_emit_properties_changed_strv(3),
46           sd_bus_emit_signal(3),
47           sd_bus_emit_signalv(3),
48           sd-bus-errors(3),
49           sd_bus_error(3),
50           sd_bus_error_add_map(3),
51           sd_bus_get_address(3),
52           sd_bus_get_allow_interactive_authorization(3),
53           sd_bus_get_bus_id(3),
54           sd_bus_get_creds_mask(3),
55           sd_bus_get_current_handler(3),
56           sd_bus_get_current_message(3),
57           sd_bus_get_current_slot(3),
58           sd_bus_get_current_userdata(3),
59           sd_bus_get_exit_on_disconnect(3),
60           sd_bus_get_fd(3),
61           sd_bus_get_method_call_timeout(3),
62           sd_bus_get_n_queued_read(3),
63           sd_bus_get_name_creds(3),
64           sd_bus_get_name_machine_id(3),
65           sd_bus_get_owner_creds(3),
66           sd_bus_get_property(3),
67           sd_bus_get_property_string(3),
68           sd_bus_get_property_strv(3),
69           sd_bus_get_property_trivial(3),
70           sd_bus_get_scope(3),
71           sd_bus_get_tid(3),
72           sd_bus_get_unique_name(3),
73           sd_bus_interface_name_is_valid(3),
74           sd_bus_is_bus_client(3),
75           sd_bus_is_monitor(3),
76           sd_bus_is_server(3),
77           sd_bus_list_names(3),
78           sd_bus_message_append(3),
79           sd_bus_message_append_array(3),
80           sd_bus_message_append_basic(3),
81           sd_bus_message_append_string_memfd(3),
82           sd_bus_message_append_strv(3),
83           sd_bus_message_at_end(3),
84           sd_bus_message_close_container(3),
85           sd_bus_message_copy(3),
86           sd_bus_message_dump(3),
87           sd_bus_message_enter_container(3),
88           sd_bus_message_exit_container(3),
89           sd_bus_message_get_allow_interactive_authorization(3),
90           sd_bus_message_get_cookie(3),
91           sd_bus_message_get_creds(3),
92           sd_bus_message_get_errno(3),
93           sd_bus_message_get_error(3),
94           sd_bus_message_get_monotonic_usec(3),
95           sd_bus_message_get_sender(3),
96           sd_bus_message_get_signature(3),
97           sd_bus_message_get_type(3),
98           sd_bus_message_new(3),
99           sd_bus_message_new_method_call(3),
100           sd_bus_message_new_method_error(3),
101           sd_bus_message_new_signal(3),
102           sd_bus_message_open_container(3),
103           sd_bus_message_peek_type(3),
104           sd_bus_message_read(3),
105           sd_bus_message_read_array(3),
106           sd_bus_message_read_basic(3),
107           sd_bus_message_read_strv(3),
108           sd_bus_message_rewind(3),
109           sd_bus_message_seal(3),
110           sd_bus_message_send(3),
111           sd_bus_message_set_allow_interactive_authorization(3),
112           sd_bus_message_set_destination(3),
113           sd_bus_message_set_expect_reply(3),
114           sd_bus_message_set_sender(3),
115           sd_bus_message_skip(3),
116           sd_bus_message_verify_type(3),
117           sd_bus_negotiate_fds(3),
118           sd_bus_new(3),
119           sd_bus_path_encode(3),
120           sd_bus_process(3),
121           sd_bus_query_sender_creds(3),
122           sd_bus_query_sender_privilege(3),
123           sd_bus_reply_method_error(3),
124           sd_bus_reply_method_return(3),
125           sd_bus_request_name(3),
126           sd_bus_send(3),
127           sd_bus_send_to(3),
128           sd_bus_set_address(3),
129           sd_bus_set_allow_interactive_authorization(3),
130           sd_bus_set_bus_client(3),
131           sd_bus_set_close_on_exit(3),
132           sd_bus_set_connected_signal(3),
133           sd_bus_set_description(3),
134           sd_bus_set_exit_on_disconnect(3),
135           sd_bus_set_method_call_timeout(3),
136           sd_bus_set_monitor(3),
137           sd_bus_set_property(3),
138           sd_bus_set_propertyv(3),
139           sd_bus_set_sender(3),
140           sd_bus_set_server(3),
141           sd_bus_set_watch_bind(3)
142           sd_bus_slot_get_current_handler(3),
143           sd_bus_slot_get_current_message(3),
144           sd_bus_slot_get_current_userdata(3),
145           sd_bus_slot_set_description(3),
146           sd_bus_slot_set_destroy_callback(3),
147           sd_bus_slot_set_floating(3),
148           sd_bus_slot_set_userdata(3),
149           sd_bus_start(3),
150           sd_bus_track_add_name(3),
151           sd_bus_track_new(3)
152
153       for more information about the functions available.
154

NOTES

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

SEE ALSO

160       systemd(1), sd-event(3), busctl(1), dbus-daemon(1), dbus-send(1)
161
162
163
164systemd 249                                                          SD-BUS(3)
Impressum