Lines Matching refs:sd_bus
33 #define SD_BUS_DEFAULT ((sd_bus *) 1)
34 #define SD_BUS_DEFAULT_USER ((sd_bus *) 2)
35 #define SD_BUS_DEFAULT_SYSTEM ((sd_bus *) 3)
39 typedef struct sd_bus sd_bus; typedef
111 typedef int (*sd_bus_property_get_t) (sd_bus *bus, const char *path, const char *interface, const c…
112 typedef int (*sd_bus_property_set_t) (sd_bus *bus, const char *path, const char *interface, const c…
113 typedef int (*sd_bus_object_find_t) (sd_bus *bus, const char *path, const char *interface, void *us…
114 typedef int (*sd_bus_node_enumerator_t) (sd_bus *bus, const char *prefix, void *userdata, char ***r…
130 int sd_bus_default(sd_bus **ret);
131 int sd_bus_default_user(sd_bus **ret);
132 int sd_bus_default_system(sd_bus **ret);
134 int sd_bus_open(sd_bus **ret);
135 int sd_bus_open_with_description(sd_bus **ret, const char *description);
136 int sd_bus_open_user(sd_bus **ret);
137 int sd_bus_open_user_with_description(sd_bus **ret, const char *description);
138 int sd_bus_open_user_machine(sd_bus **ret, const char *machine);
139 int sd_bus_open_system(sd_bus **ret);
140 int sd_bus_open_system_with_description(sd_bus **ret, const char *description);
141 int sd_bus_open_system_remote(sd_bus **ret, const char *host);
142 int sd_bus_open_system_machine(sd_bus **ret, const char *machine);
144 int sd_bus_new(sd_bus **ret);
146 int sd_bus_set_address(sd_bus *bus, const char *address);
147 int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd);
148 int sd_bus_set_exec(sd_bus *bus, const char *path, char *const *argv);
149 int sd_bus_get_address(sd_bus *bus, const char **address);
150 int sd_bus_set_bus_client(sd_bus *bus, int b);
151 int sd_bus_is_bus_client(sd_bus *bus);
152 int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t bus_id);
153 int sd_bus_is_server(sd_bus *bus);
154 int sd_bus_set_anonymous(sd_bus *bus, int b);
155 int sd_bus_is_anonymous(sd_bus *bus);
156 int sd_bus_set_trusted(sd_bus *bus, int b);
157 int sd_bus_is_trusted(sd_bus *bus);
158 int sd_bus_set_monitor(sd_bus *bus, int b);
159 int sd_bus_is_monitor(sd_bus *bus);
160 int sd_bus_set_description(sd_bus *bus, const char *description);
161 int sd_bus_get_description(sd_bus *bus, const char **description);
162 int sd_bus_negotiate_creds(sd_bus *bus, int b, uint64_t creds_mask);
163 int sd_bus_negotiate_timestamp(sd_bus *bus, int b);
164 int sd_bus_negotiate_fds(sd_bus *bus, int b);
165 int sd_bus_can_send(sd_bus *bus, char type);
166 int sd_bus_get_creds_mask(sd_bus *bus, uint64_t *creds_mask);
167 int sd_bus_set_allow_interactive_authorization(sd_bus *bus, int b);
168 int sd_bus_get_allow_interactive_authorization(sd_bus *bus);
169 int sd_bus_set_exit_on_disconnect(sd_bus *bus, int b);
170 int sd_bus_get_exit_on_disconnect(sd_bus *bus);
171 int sd_bus_set_close_on_exit(sd_bus *bus, int b);
172 int sd_bus_get_close_on_exit(sd_bus *bus);
173 int sd_bus_set_watch_bind(sd_bus *bus, int b);
174 int sd_bus_get_watch_bind(sd_bus *bus);
175 int sd_bus_set_connected_signal(sd_bus *bus, int b);
176 int sd_bus_get_connected_signal(sd_bus *bus);
177 int sd_bus_set_sender(sd_bus *bus, const char *sender);
178 int sd_bus_get_sender(sd_bus *bus, const char **ret);
180 int sd_bus_start(sd_bus *bus);
182 int sd_bus_try_close(sd_bus *bus) _sd_deprecated_;
183 void sd_bus_close(sd_bus *bus);
185 sd_bus* sd_bus_ref(sd_bus *bus);
186 sd_bus* sd_bus_unref(sd_bus *bus);
187 sd_bus* sd_bus_close_unref(sd_bus *bus);
188 sd_bus* sd_bus_flush_close_unref(sd_bus *bus);
192 int sd_bus_is_open(sd_bus *bus);
193 int sd_bus_is_ready(sd_bus *bus);
195 int sd_bus_get_bus_id(sd_bus *bus, sd_id128_t *id);
196 int sd_bus_get_scope(sd_bus *bus, const char **scope);
197 int sd_bus_get_tid(sd_bus *bus, pid_t *tid);
198 int sd_bus_get_owner_creds(sd_bus *bus, uint64_t creds_mask, sd_bus_creds **ret);
200 int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie);
201 int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie);
202 int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_mess…
203 int sd_bus_call_async(sd_bus *bus, sd_bus_slot **slot, sd_bus_message *m, sd_bus_message_handler_t …
205 int sd_bus_get_fd(sd_bus *bus);
206 int sd_bus_get_events(sd_bus *bus);
207 int sd_bus_get_timeout(sd_bus *bus, uint64_t *timeout_usec);
208 int sd_bus_process(sd_bus *bus, sd_bus_message **r);
209 int sd_bus_process_priority(sd_bus *bus, int64_t max_priority, sd_bus_message **r) _sd_deprecated_;
210 int sd_bus_wait(sd_bus *bus, uint64_t timeout_usec);
211 int sd_bus_flush(sd_bus *bus);
212 int sd_bus_enqueue_for_read(sd_bus *bus, sd_bus_message *m);
214 sd_bus_slot* sd_bus_get_current_slot(sd_bus *bus);
215 sd_bus_message* sd_bus_get_current_message(sd_bus *bus);
216 sd_bus_message_handler_t sd_bus_get_current_handler(sd_bus *bus);
217 void* sd_bus_get_current_userdata(sd_bus *bus);
219 int sd_bus_attach_event(sd_bus *bus, sd_event *e, int priority);
220 int sd_bus_detach_event(sd_bus *bus);
221 sd_event* sd_bus_get_event(sd_bus *bus);
223 int sd_bus_get_n_queued_read(sd_bus *bus, uint64_t *ret);
224 int sd_bus_get_n_queued_write(sd_bus *bus, uint64_t *ret);
226 int sd_bus_set_method_call_timeout(sd_bus *bus, uint64_t usec);
227 int sd_bus_get_method_call_timeout(sd_bus *bus, uint64_t *ret);
229 int sd_bus_add_filter(sd_bus *bus, sd_bus_slot **slot, sd_bus_message_handler_t callback, void *use…
230 int sd_bus_add_match(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handler_t c…
231 int sd_bus_add_match_async(sd_bus *bus, sd_bus_slot **slot, const char *match, sd_bus_message_handl…
232 int sd_bus_add_object(sd_bus *bus, sd_bus_slot **slot, const char *path, sd_bus_message_handler_t c…
233 int sd_bus_add_fallback(sd_bus *bus, sd_bus_slot **slot, const char *prefix, sd_bus_message_handler…
234 int sd_bus_add_object_vtable(sd_bus *bus, sd_bus_slot **slot, const char *path, const char *interfa…
235 int sd_bus_add_fallback_vtable(sd_bus *bus, sd_bus_slot **slot, const char *prefix, const char *int…
236 int sd_bus_add_node_enumerator(sd_bus *bus, sd_bus_slot **slot, const char *path, sd_bus_node_enume…
237 int sd_bus_add_object_manager(sd_bus *bus, sd_bus_slot **slot, const char *path);
244 sd_bus* sd_bus_slot_get_bus(sd_bus_slot *slot);
260 int sd_bus_message_new(sd_bus *bus, sd_bus_message **m, uint8_t type);
261 int sd_bus_message_new_signal(sd_bus *bus, sd_bus_message **m, const char *path, const char *interf…
262 int sd_bus_message_new_method_call(sd_bus *bus, sd_bus_message **m, const char *destination, const …
296 sd_bus* sd_bus_message_get_bus(sd_bus_message *m);
346 int sd_bus_get_unique_name(sd_bus *bus, const char **unique);
347 int sd_bus_request_name(sd_bus *bus, const char *name, uint64_t flags);
348 int sd_bus_request_name_async(sd_bus *bus, sd_bus_slot **ret_slot, const char *name, uint64_t flags…
349 int sd_bus_release_name(sd_bus *bus, const char *name);
350 int sd_bus_release_name_async(sd_bus *bus, sd_bus_slot **ret_slot, const char *name, sd_bus_message…
351 int sd_bus_list_names(sd_bus *bus, char ***acquired, char ***activatable); /* free the results */
352 int sd_bus_get_name_creds(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **creds); /* u…
353 int sd_bus_get_name_machine_id(sd_bus *bus, const char *name, sd_id128_t *machine);
358 int sd_bus_call_methodv(sd_bus *bus, const char *destination, const char *path, const char *interfa…
359 int sd_bus_call_method(sd_bus *bus, const char *destination, const char *path, const char *interfac…
360 int sd_bus_call_method_asyncv(sd_bus *bus, sd_bus_slot **slot, const char *destination, const char …
361 int sd_bus_call_method_async(sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *…
362 int sd_bus_get_property(sd_bus *bus, const char *destination, const char *path, const char *interfa…
363 int sd_bus_get_property_trivial(sd_bus *bus, const char *destination, const char *path, const char …
364 int sd_bus_get_property_string(sd_bus *bus, const char *destination, const char *path, const char *…
365 int sd_bus_get_property_strv(sd_bus *bus, const char *destination, const char *path, const char *in…
366 int sd_bus_set_propertyv(sd_bus *bus, const char *destination, const char *path, const char *interf…
367 int sd_bus_set_property(sd_bus *bus, const char *destination, const char *path, const char *interfa…
378 int sd_bus_emit_signalv(sd_bus *bus, const char *path, const char *interface, const char *member, c…
379 int sd_bus_emit_signal(sd_bus *bus, const char *path, const char *interface, const char *member, co…
381 int sd_bus_emit_properties_changed_strv(sd_bus *bus, const char *path, const char *interface, char …
382 int sd_bus_emit_properties_changed(sd_bus *bus, const char *path, const char *interface, const char…
384 int sd_bus_emit_object_added(sd_bus *bus, const char *path);
385 int sd_bus_emit_object_removed(sd_bus *bus, const char *path);
386 int sd_bus_emit_interfaces_added_strv(sd_bus *bus, const char *path, char **interfaces);
387 int sd_bus_emit_interfaces_added(sd_bus *bus, const char *path, const char *interface, ...) _sd_sen…
388 int sd_bus_emit_interfaces_removed_strv(sd_bus *bus, const char *path, char **interfaces);
389 int sd_bus_emit_interfaces_removed(sd_bus *bus, const char *path, const char *interface, ...) _sd_s…
394 int sd_bus_match_signal(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path, const…
395 int sd_bus_match_signal_async(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path,…
496 int sd_bus_track_new(sd_bus *bus, sd_bus_track **track, sd_bus_track_handler_t handler, void *userd…
500 sd_bus* sd_bus_track_get_bus(sd_bus_track *track);
524 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_bus, sd_bus_unref);
525 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_bus, sd_bus_close_unref);
526 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_bus, sd_bus_flush_close_unref);