/systemd/src/libsystemd/sd-bus/ |
H A D | bus-container.h | 24 int bus_container_connect_socket(sd_bus *b); 25 int bus_container_connect_kernel(sd_bus *b);
|
H A D | bus-socket.h | 24 void bus_socket_setup(sd_bus *b); 26 int bus_socket_connect(sd_bus *b); 27 int bus_socket_exec(sd_bus *b); 28 int bus_socket_take_fd(sd_bus *b); 29 int bus_socket_start_auth(sd_bus *b); 31 int bus_socket_write_message(sd_bus *bus, sd_bus_message *m, size_t *idx); 32 int bus_socket_read_message(sd_bus *bus); 34 int bus_socket_process_opening(sd_bus *b); 35 int bus_socket_process_authenticating(sd_bus *b); 37 bool bus_socket_auth_needs_write(sd_bus * [all...] |
H A D | bus-objects.h | 24 int bus_process_object(sd_bus *bus, sd_bus_message *m); 25 void bus_node_gc(sd_bus *b, struct node *n);
|
H A D | bus-control.h | 26 int bus_add_match_internal(sd_bus *bus, const char *match, struct bus_match_component *components, unsigned n_components, uint64_t cookie); 27 int bus_remove_match_internal(sd_bus *bus, const char *match, uint64_t cookie); 29 int bus_add_match_internal_kernel(sd_bus *bus, struct bus_match_component *components, unsigned n_components, uint64_t cookie); 30 int bus_remove_match_internal_kernel(sd_bus *bus, uint64_t cookie); 32 int bus_get_name_creds_kdbus(sd_bus *bus, const char *name, uint64_t mask, bool allow_activator, sd_bus_creds **creds);
|
H A D | bus-kernel.h | 64 int bus_kernel_connect(sd_bus *b); 65 int bus_kernel_take_fd(sd_bus *b); 67 int bus_kernel_write_message(sd_bus *bus, sd_bus_message *m, bool hint_sync_call); 68 int bus_kernel_read_message(sd_bus *bus, bool hint_priority, int64_t priority); 75 int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *mapped, size_t *allocated); 76 void bus_kernel_push_memfd(sd_bus *bus, int fd, void *address, size_t mapped, size_t allocated); 78 void bus_kernel_flush_memfd(sd_bus *bus); 85 int bus_kernel_try_close(sd_bus *bus); 89 int bus_kernel_realize_attach_flags(sd_bus *bus); 91 int bus_kernel_get_bus_name(sd_bus *bu [all...] |
H A D | bus-slot.h | 26 sd_bus_slot *bus_slot_allocate(sd_bus *bus, bool floating, BusSlotType type, size_t extra, void *userdata);
|
H A D | bus-internal.h | 138 sd_bus *bus; 178 struct sd_bus { struct 180 objects retain references to their originating sd_bus but 183 bare minimum that makes it possible to use sd_bus and 306 sd_bus **default_bus_ptr; 361 int bus_ensure_running(sd_bus *bus); 362 int bus_start_running(sd_bus *bus); 363 int bus_next_address(sd_bus *bus); 365 int bus_seal_synthetic_message(sd_bus *b, sd_bus_message *m); 367 int bus_rqueue_make_room(sd_bus *bu [all...] |
H A D | test-bus-cleanup.c | 30 _cleanup_(sd_bus_unrefp) sd_bus *bus = NULL; 37 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; 51 sd_bus *bus = NULL; 65 sd_bus *bus = NULL;
|
H A D | bus-introspect.h | 39 int introspect_finish(struct introspect *i, sd_bus *bus, sd_bus_message *m, sd_bus_message **reply);
|
H A D | sd-bus.c | 71 static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec); 72 static int attach_io_events(sd_bus *b); 73 static void detach_io_events(sd_bus *b); 75 static thread_local sd_bus *default_system_bus = NULL; 76 static thread_local sd_bus *default_user_bus = NULL; 77 static thread_local sd_bus *default_starter_bus = NULL; 79 static void bus_close_fds(sd_bus *b) { 89 static void bus_reset_queues(sd_bus *b) { 105 static void bus_free(sd_bus *b) { 174 _public_ int sd_bus_new(sd_bus **re [all...] |
H A D | test-bus-introspect.c | 23 static int prop_get(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { 27 static int prop_set(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) {
|
/systemd/src/bus-proxyd/ |
H A D | driver.h | 27 int bus_proxy_process_driver(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m, SharedPolicy *sp, const struct ucred *ucred, Set *owned_names);
|
H A D | synthesize.h | 26 int synthetic_driver_send(sd_bus *b, sd_bus_message *m); 36 int synthesize_name_acquired(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m);
|
H A D | proxy.h | 32 sd_bus *local_bus; 37 sd_bus *destination_bus;
|
/systemd/src/systemd/ |
H A D | sd-bus.h | 37 typedef struct sd_bus sd_bus; typedef in typeref:struct:sd_bus 104 typedef int (*sd_bus_property_get_t) (sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error); 105 typedef int (*sd_bus_property_set_t) (sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *ret_error); 106 typedef int (*sd_bus_object_find_t) (sd_bus *bus, const char *path, const char *interface, void *userdata, void **ret_found, sd_bus_error *ret_error); 107 typedef int (*sd_bus_node_enumerator_t) (sd_bus *bus, const char *prefix, void *userdata, char ***ret_nodes, sd_bus_error *ret_error); 115 int sd_bus_default(sd_bus **ret); 116 int sd_bus_default_user(sd_bus **ret); 117 int sd_bus_default_system(sd_bus **ret); 119 int sd_bus_open(sd_bus **re [all...] |
/systemd/src/shared/ |
H A D | bus-util.h | 45 typedef int (*bus_property_set_t) (sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata); 54 int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata); 58 int bus_map_all_properties(sd_bus *bus, const char *destination, const char *path, const struct bus_properties_map *map, void *userdata); 60 int bus_async_unregister_and_exit(sd_event *e, sd_bus *bus, const char *name); 64 int bus_event_loop_with_idle(sd_event *e, sd_bus *bus, const char *name, usec_t timeout, check_idle_t check_idle, void *userdata); 66 int bus_name_has_owner(sd_bus *c, const char *name, sd_bus_error *error); 68 int bus_check_peercred(sd_bus *c); 75 int bus_connect_system_systemd(sd_bus **_bus); 76 int bus_connect_user_systemd(sd_bus **_bus); 78 int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bu [all...] |
/systemd/src/machine/ |
H A D | image-dbus.h | 28 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); 29 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | machine-dbus.h | 29 int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); 30 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
/systemd/src/cgroups-agent/ |
H A D | cgroups-agent.c | 28 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
|
/systemd/src/core/ |
H A D | dbus.h | 35 int manager_sync_bus_names(Manager *m, sd_bus *bus); 37 int bus_foreach_bus(Manager *m, sd_bus_track *subscribed2, int (*send_message)(sd_bus *bus, void *userdata), void *userdata);
|
H A D | dbus-execute.h | 41 int bus_property_get_exec_output(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error); 42 int bus_property_get_exec_command(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error); 43 int bus_property_get_exec_command_list(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
|
H A D | dbus-path.c | 29 sd_bus *bus, 59 sd_bus *bus,
|
/systemd/src/resolve/ |
H A D | resolved-link-bus.h | 28 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); 30 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
/systemd/src/hostname/ |
H A D | hostnamectl.c | 127 static int show_one_name(sd_bus *bus, const char* attr) { 154 static int show_all_names(sd_bus *bus) { 214 static int show_status(sd_bus *bus, char **args, unsigned n) { 233 static int set_simple_string(sd_bus *bus, const char *method, const char *value) { 252 static int set_hostname(sd_bus *bus, char **args, unsigned n) { 304 static int set_icon_name(sd_bus *bus, char **args, unsigned n) { 311 static int set_chassis(sd_bus *bus, char **args, unsigned n) { 318 static int set_deployment(sd_bus *bus, char **args, unsigned n) { 325 static int set_location(sd_bus *bus, char **args, unsigned n) { 427 static int hostnamectl_main(sd_bus *bu [all...] |
/systemd/src/login/ |
H A D | test-inhibit.c | 29 static int inhibit(sd_bus *bus, const char *what) { 53 static void print_inhibitors(sd_bus *bus) { 86 _cleanup_(sd_bus_unrefp) sd_bus *bus = NULL;
|