/systemd-251/src/systemd/ |
D | sd-bus.h | 40 typedef struct sd_bus_message sd_bus_message; typedef 110 typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); 111 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 112 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *… 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 … 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_; [all …]
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-message.h | 50 struct sd_bus_message { struct 134 static inline bool BUS_MESSAGE_NEED_BSWAP(sd_bus_message *m) { in BUS_MESSAGE_NEED_BSWAP() argument 138 static inline uint16_t BUS_MESSAGE_BSWAP16(sd_bus_message *m, uint16_t u) { in BUS_MESSAGE_BSWAP16() 142 static inline uint32_t BUS_MESSAGE_BSWAP32(sd_bus_message *m, uint32_t u) { in BUS_MESSAGE_BSWAP32() 146 static inline uint64_t BUS_MESSAGE_BSWAP64(sd_bus_message *m, uint64_t u) { in BUS_MESSAGE_BSWAP64() 150 static inline uint64_t BUS_MESSAGE_COOKIE(sd_bus_message *m) { in BUS_MESSAGE_COOKIE() 157 static inline size_t BUS_MESSAGE_SIZE(sd_bus_message *m) { in BUS_MESSAGE_SIZE() 164 static inline size_t BUS_MESSAGE_BODY_BEGIN(sd_bus_message *m) { in BUS_MESSAGE_BODY_BEGIN() 170 static inline void* BUS_MESSAGE_FIELDS(sd_bus_message *m) { in BUS_MESSAGE_FIELDS() 174 static inline bool BUS_MESSAGE_IS_GVARIANT(sd_bus_message *m) { in BUS_MESSAGE_IS_GVARIANT() [all …]
|
D | bus-message.c | 24 static int message_append_basic(sd_bus_message *m, char type, const void *p, const void **stored); 43 static void message_free_part(sd_bus_message *m, struct bus_body_part *part) { in message_free_part() 70 static void message_reset_parts(sd_bus_message *m) { in message_reset_parts() 89 static struct bus_container *message_get_last_container(sd_bus_message *m) { in message_get_last_container() 99 static void message_free_last_container(sd_bus_message *m) { in message_free_last_container() 113 static void message_reset_containers(sd_bus_message *m) { in message_reset_containers() 123 static sd_bus_message* message_free(sd_bus_message *m) { in message_free() 150 static void *message_extend_fields(sd_bus_message *m, size_t align, size_t sz, bool add_offset) { in message_extend_fields() 218 sd_bus_message *m, in message_append_field_string() 279 sd_bus_message *m, in message_append_field_signature() [all …]
|
D | bus-convenience.c | 12 _public_ int sd_bus_message_send(sd_bus_message *reply) { in sd_bus_message_send() 27 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL; in sd_bus_emit_signalv() 78 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL; in sd_bus_call_method_asyncv() 129 sd_bus_message **reply, in sd_bus_call_methodv() 132 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL; in sd_bus_call_methodv() 167 sd_bus_message **reply, in sd_bus_call_method() 181 sd_bus_message *call, in sd_bus_reply_method_returnv() 184 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL; in sd_bus_reply_method_returnv() 213 sd_bus_message *call, in sd_bus_reply_method_return() 227 sd_bus_message *call, in sd_bus_reply_method_error() [all …]
|
/systemd-251/src/network/ |
D | networkd-link-bus.h | 19 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 20 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 21 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 22 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 24 int bus_link_method_set_ntp_servers(sd_bus_message *message, void *userdata, sd_bus_error *error); 25 int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *error); 26 int bus_link_method_set_dns_servers_ex(sd_bus_message *message, void *userdata, sd_bus_error *error… 27 int bus_link_method_set_domains(sd_bus_message *message, void *userdata, sd_bus_error *error); 28 int bus_link_method_set_default_route(sd_bus_message *message, void *userdata, sd_bus_error *error); 29 int bus_link_method_set_llmnr(sd_bus_message *message, void *userdata, sd_bus_error *error); [all …]
|
D | networkd-manager-bus.c | 22 static int method_list_links(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_list_links() 23 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_list_links() 59 static int method_get_link_by_name(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_link_by_name() 60 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_get_link_by_name() 89 static int method_get_link_by_index(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_link_by_index() 90 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_get_link_by_index() 119 static int call_link_method(Manager *m, sd_bus_message *message, sd_bus_message_handler_t handler, … in call_link_method() 138 static int bus_method_set_link_ntp_servers(sd_bus_message *message, void *userdata, sd_bus_error *e… in bus_method_set_link_ntp_servers() 142 static int bus_method_set_link_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *e… in bus_method_set_link_dns_servers() 146 static int bus_method_set_link_dns_servers_ex(sd_bus_message *message, void *userdata, sd_bus_error… in bus_method_set_link_dns_servers_ex() [all …]
|
/systemd-251/src/home/ |
D | homed-home-bus.h | 9 int bus_home_client_is_trusted(Home *h, sd_bus_message *message); 10 int bus_home_get_record_json(Home *h, sd_bus_message *message, char **ret, bool *ret_incomplete); 12 int bus_home_method_activate(sd_bus_message *message, void *userdata, sd_bus_error *error); 13 int bus_home_method_deactivate(sd_bus_message *message, void *userdata, sd_bus_error *error); 14 int bus_home_method_unregister(sd_bus_message *message, void *userdata, sd_bus_error *error); 15 int bus_home_method_realize(sd_bus_message *message, void *userdata, sd_bus_error *error); 16 int bus_home_method_remove(sd_bus_message *message, void *userdata, sd_bus_error *error); 17 int bus_home_method_fixate(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_home_method_authenticate(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_home_method_update(sd_bus_message *message, void *userdata, sd_bus_error *error); [all …]
|
D | homed-manager-bus.c | 23 sd_bus_message *reply, in property_get_auto_login() 66 sd_bus_message *message, in method_get_home_by_name() 105 sd_bus_message *message, in method_get_home_by_uid() 146 sd_bus_message *message, in method_list_homes() 150 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_list_homes() 195 sd_bus_message *message, in method_get_user_record_by_name() 235 sd_bus_message *message, in method_get_user_record_by_uid() 275 sd_bus_message *message, in generic_home_method() 297 static int method_activate_home(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_activate_home() 301 static int method_deactivate_home(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_deactivate_home() [all …]
|
/systemd-251/src/core/ |
D | dbus-unit.h | 16 int bus_unit_method_start_generic(sd_bus_message *message, Unit *u, JobType job_type, bool reload_i… 17 int bus_unit_method_enqueue_job(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_unit_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_unit_method_reset_failed(sd_bus_message *message, void *userdata, sd_bus_error *error); 21 int bus_unit_set_properties(Unit *u, sd_bus_message *message, UnitWriteFlags flags, bool commit, sd… 22 int bus_unit_method_set_properties(sd_bus_message *message, void *userdata, sd_bus_error *error); 23 int bus_unit_method_get_processes(sd_bus_message *message, void *userdata, sd_bus_error *error); 24 int bus_unit_method_attach_processes(sd_bus_message *message, void *userdata, sd_bus_error *error); 25 int bus_unit_method_ref(sd_bus_message *message, void *userdata, sd_bus_error *error); 26 int bus_unit_method_unref(sd_bus_message *message, void *userdata, sd_bus_error *error); [all …]
|
D | dbus-util.h | 9 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 16 sd_bus_message *message, \ 43 sd_bus_message *message, \ 74 sd_bus_message *message, \ 107 sd_bus_message *message, \ 143 sd_bus_message *message, \ 176 sd_bus_message *message, \ 209 sd_bus_message *message, \ 238 int bus_set_transient_mode_t(Unit *u, const char *name, mode_t *p, sd_bus_message *message, UnitWri… 239 int bus_set_transient_unsigned(Unit *u, const char *name, unsigned *p, sd_bus_message *message, Uni… [all …]
|
D | dbus-manager.c | 70 sd_bus_message *reply, in property_get_virtualization() 96 sd_bus_message *reply, in property_get_tainted() 119 sd_bus_message *value, in property_set_log_target() 154 sd_bus_message *value, in property_set_log_level() 189 sd_bus_message *reply, in property_get_progress() 213 sd_bus_message *reply, in property_get_environment() 237 sd_bus_message *reply, in property_get_show_status() 255 sd_bus_message *reply, in property_get_runtime_watchdog() 273 sd_bus_message *reply, in property_get_pretimeout_watchdog() 291 sd_bus_message *reply, in property_get_pretimeout_watchdog_governor() [all …]
|
D | dbus-unit.c | 65 sd_bus_message *reply, in property_get_can_clean() 101 sd_bus_message *reply, in property_get_names() 135 sd_bus_message *reply, in property_get_following() 154 sd_bus_message *reply, in property_get_dependencies() 191 sd_bus_message *reply, in property_get_requires_mounts_for() 222 sd_bus_message *reply, in property_get_unit_file_preset() 245 sd_bus_message *reply, in property_get_job() 271 sd_bus_message *reply, in property_get_conditions() 313 sd_bus_message *reply, in property_get_load_error() 337 sd_bus_message *reply, in property_get_markers() [all …]
|
/systemd-251/src/machine/ |
D | machine-dbus.h | 13 int bus_machine_method_unregister(sd_bus_message *message, void *userdata, sd_bus_error *error); 14 int bus_machine_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error); 15 int bus_machine_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error); 16 int bus_machine_method_get_addresses(sd_bus_message *message, void *userdata, sd_bus_error *error); 17 int bus_machine_method_get_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_machine_method_open_pty(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_machine_method_open_login(sd_bus_message *message, void *userdata, sd_bus_error *error); 20 int bus_machine_method_open_shell(sd_bus_message *message, void *userdata, sd_bus_error *error); 21 int bus_machine_method_bind_mount(sd_bus_message *message, void *userdata, sd_bus_error *error); 22 int bus_machine_method_copy(sd_bus_message *message, void *userdata, sd_bus_error *error); [all …]
|
D | image-dbus.h | 11 int bus_image_method_remove(sd_bus_message *message, void *userdata, sd_bus_error *error); 12 int bus_image_method_rename(sd_bus_message *message, void *userdata, sd_bus_error *error); 13 int bus_image_method_clone(sd_bus_message *message, void *userdata, sd_bus_error *error); 14 int bus_image_method_mark_read_only(sd_bus_message *message, void *userdata, sd_bus_error *error); 15 int bus_image_method_set_limit(sd_bus_message *message, void *userdata, sd_bus_error *error); 16 int bus_image_method_get_hostname(sd_bus_message *message, void *userdata, sd_bus_error *error); 17 int bus_image_method_get_machine_id(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_image_method_get_machine_info(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_image_method_get_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
D | machined-dbus.c | 43 sd_bus_message *reply, in property_get_pool_usage() 69 sd_bus_message *reply, in property_get_pool_limit() 90 static int method_get_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_machine() 115 static int method_get_image(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_image() 141 static int method_get_machine_by_pid(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_machine_by_pid() 185 static int method_list_machines(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_list_machines() 186 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_list_machines() 225 static int method_create_or_register_machine(Manager *manager, sd_bus_message *message, bool read_n… in method_create_or_register_machine() 348 static int method_create_machine_internal(sd_bus_message *message, bool read_network, void *userdat… in method_create_machine_internal() 376 static int method_create_machine_with_network(sd_bus_message *message, void *userdata, sd_bus_error… in method_create_machine_with_network() [all …]
|
/systemd-251/src/resolve/ |
D | resolved-link-bus.h | 13 int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *error); 14 int bus_link_method_set_dns_servers_ex(sd_bus_message *message, void *userdata, sd_bus_error *error… 15 int bus_link_method_set_domains(sd_bus_message *message, void *userdata, sd_bus_error *error); 16 int bus_link_method_set_default_route(sd_bus_message *message, void *userdata, sd_bus_error *error); 17 int bus_link_method_set_llmnr(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_link_method_set_mdns(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_link_method_set_dns_over_tls(sd_bus_message *message, void *userdata, sd_bus_error *error); 20 int bus_link_method_set_dnssec(sd_bus_message *message, void *userdata, sd_bus_error *error); 21 int bus_link_method_set_dnssec_negative_trust_anchors(sd_bus_message *message, void *userdata, sd_b… 22 int bus_link_method_revert(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
D | resolved-bus.c | 43 static int dns_query_bus_track(DnsQuery *q, sd_bus_message *m) { in dns_query_bus_track() 62 static sd_bus_message *dns_query_steal_request(DnsQuery *q) { in dns_query_steal_request() 79 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL; in reply_method_errorf() 103 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL; in reply_method_errnof() 173 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL; in reply_query_state() 207 static int append_address(sd_bus_message *reply, DnsResourceRecord *rr, int ifindex) { in append_address() 249 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in bus_method_resolve_hostname_complete() 382 static int parse_as_address(sd_bus_message *m, int ifindex, const char *hostname, int family, uint6… in parse_as_address() 383 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in parse_as_address() 447 void bus_client_log(sd_bus_message *m, const char *what) { in bus_client_log() [all …]
|
D | resolved-link-bus.c | 31 sd_bus_message *reply, in property_get_dns_over_tls_mode() 48 sd_bus_message *reply, in property_get_dns_internal() 77 sd_bus_message *reply, in property_get_dns() 88 sd_bus_message *reply, in property_get_dns_ex() 99 sd_bus_message *reply, in property_get_current_dns_server_internal() 119 sd_bus_message *reply, in property_get_current_dns_server() 130 sd_bus_message *reply, in property_get_current_dns_server_ex() 141 sd_bus_message *reply, in property_get_domains() 169 sd_bus_message *reply, in property_get_default_route() 194 sd_bus_message *reply, in property_get_scopes_mask() [all …]
|
/systemd-251/src/portable/ |
D | portabled-bus.c | 25 sd_bus_message *reply, in property_get_pool_path() 40 sd_bus_message *reply, in property_get_pool_usage() 66 sd_bus_message *reply, in property_get_pool_limit() 92 sd_bus_message *reply, in property_get_profiles() 109 static int method_get_image(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_get_image() 134 static int method_list_images(sd_bus_message *message, void *userdata, sd_bus_error *error) { in method_list_images() 135 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; in method_list_images() 202 sd_bus_message *message, in redirect_method_to_image() 204 …int (*method)(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_… in redirect_method_to_image() 220 static int method_get_image_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error… in method_get_image_os_release() [all …]
|
D | portabled-image-bus.h | 9 int bus_image_common_get_os_release(Manager *m, sd_bus_message *message, const char *name_or_path, … 10 int bus_image_common_get_metadata(Manager *m, sd_bus_message *message, const char *name_or_path, Im… 11 int bus_image_common_attach(Manager *m, sd_bus_message *message, const char *name_or_path, Image *i… 12 int bus_image_common_remove(Manager *m, sd_bus_message *message, const char *name_or_path, Image *i… 13 int bus_image_common_reattach(Manager *m, sd_bus_message *message, const char *name_or_path, Image … 14 int bus_image_common_mark_read_only(Manager *m, sd_bus_message *message, const char *name_or_path, … 15 int bus_image_common_set_limit(Manager *m, sd_bus_message *message, const char *name_or_path, Image… 40 int bus_image_acquire(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, …
|
/systemd-251/src/login/ |
D | logind-dbus.h | 12 int manager_get_session_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_er… 13 int manager_get_user_from_creds(Manager *m, sd_bus_message *message, uid_t uid, sd_bus_error *error… 14 int manager_get_seat_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_error… 20 int match_job_removed(sd_bus_message *message, void *userdata, sd_bus_error *error); 21 int match_unit_removed(sd_bus_message *message, void *userdata, sd_bus_error *error); 22 int match_properties_changed(sd_bus_message *message, void *userdata, sd_bus_error *error); 23 int match_reloading(sd_bus_message *message, void *userdata, sd_bus_error *error); 27 …iption, char **wants, char **after, const char *requires_mounts_for, sd_bus_message *more_properti…
|
D | logind-dbus.c | 78 sd_bus_message *message, in get_sender_session() 133 sd_bus_message *message, in manager_get_session_from_creds() 156 static int get_sender_user(Manager *m, sd_bus_message *message, sd_bus_error *error, User **ret) { in get_sender_user() 184 int manager_get_user_from_creds(Manager *m, sd_bus_message *message, uid_t uid, sd_bus_error *error… in manager_get_user_from_creds() 204 sd_bus_message *message, in manager_get_seat_from_creds() 237 sd_bus_message *message, in return_test_polkit() 267 sd_bus_message *reply, in property_get_idle_hint() 285 sd_bus_message *reply, in property_get_idle_since_hint() 306 sd_bus_message *reply, in property_get_inhibited() 327 sd_bus_message *reply, in property_get_preparing() [all …]
|
/systemd-251/src/shared/ |
D | bus-get-properties.h | 8 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 9 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *… 10 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 26 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 33 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 34 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 52 …*bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *… 59 sd_bus_message *reply, \ 74 sd_bus_message *reply, \
|
D | bus-get-properties.c | 13 sd_bus_message *reply, in bus_property_get_bool() 27 sd_bus_message *value, in bus_property_set_bool() 46 sd_bus_message *reply, in bus_property_get_id128() 64 sd_bus_message *reply, in bus_property_get_size() 80 sd_bus_message *reply, in bus_property_get_long() 94 sd_bus_message *reply, in bus_property_get_ulong() 109 sd_bus_message *reply, in bus_property_get_rlimit()
|
/systemd-251/src/locale/ |
D | keymap-util.h | 11 sd_bus_message *locale_cache; 15 sd_bus_message *x11_cache; 22 sd_bus_message *vc_cache; 34 int locale_read_data(Context *c, sd_bus_message *m); 35 int vconsole_read_data(Context *c, sd_bus_message *m); 36 int x11_read_data(Context *c, sd_bus_message *m);
|