/systemd/src/resolve/ |
H A D | resolved-bus.h | 25 int bus_dns_server_append(sd_bus_message *reply, DnsServer *s, bool with_ifindex);
|
H A D | resolved-bus.c | 42 return sd_bus_reply_method_errorf(q->request, BUS_ERROR_INVALID_REPLY, "Received invalid reply"); 99 static int append_address(sd_bus_message *reply, DnsResourceRecord *rr, int ifindex) { argument 102 assert(reply); 105 r = sd_bus_message_open_container(reply, 'r', "iiay"); 109 r = sd_bus_message_append(reply, "i", ifindex); 114 r = sd_bus_message_append(reply, "i", AF_INET); 118 r = sd_bus_message_append_array(reply, 'y', &rr->a.in_addr, sizeof(struct in_addr)); 121 r = sd_bus_message_append(reply, "i", AF_INET6); 125 r = sd_bus_message_append_array(reply, 'y', &rr->aaaa.in6_addr, sizeof(struct in6_addr)); 132 r = sd_bus_message_close_container(reply); 608 append_srv(DnsQuery *q, sd_bus_message *reply, DnsResourceRecord *rr) argument 728 append_txt(sd_bus_message *reply, DnsResourceRecord *rr) argument 1123 bus_dns_server_append(sd_bus_message *reply, DnsServer *s, bool with_ifindex) argument 1150 bus_property_get_dns_servers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 1201 bus_property_get_search_domains( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 1240 bus_property_get_transaction_statistics( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 1259 bus_property_get_cache_statistics( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 1284 bus_property_get_dnssec_statistics( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 1305 bus_property_get_dnssec_supported( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
H A D | resolve-tool.c | 84 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL, *reply = NULL; 116 r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); 122 r = sd_bus_message_enter_container(reply, 'a', "(iiay)"); 126 while ((r = sd_bus_message_enter_container(reply, 'r', "iiay")) > 0) { 134 r = sd_bus_message_read(reply, "ii", &ifindex, &family); 138 r = sd_bus_message_read_array(reply, 'y', &a, &sz); 142 r = sd_bus_message_exit_container(reply); 174 r = sd_bus_message_exit_container(reply); 178 r = sd_bus_message_read(reply, "st", &canonical, &flags); 198 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL, *reply [all...] |
H A D | resolved-link-bus.c | 36 sd_bus_message *reply, 44 assert(reply); 47 r = sd_bus_message_open_container(reply, 'a', "(iay)"); 52 r = bus_dns_server_append(reply, s, false); 57 return sd_bus_message_close_container(reply); 65 sd_bus_message *reply, 73 assert(reply); 76 r = sd_bus_message_open_container(reply, 'a', "(sb)"); 81 r = sd_bus_message_append(reply, "(sb)", d->name, d->route_only); 86 return sd_bus_message_close_container(reply); 31 property_get_dns( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 60 property_get_domains( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 89 property_get_scopes_mask( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 113 property_get_ntas( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 143 property_get_dnssec_supported( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
/systemd/src/core/ |
H A D | dbus-path.c | 33 sd_bus_message *reply, 42 assert(reply); 45 r = sd_bus_message_open_container(reply, 'a', "(ss)"); 50 r = sd_bus_message_append(reply, "(ss)", path_type_to_string(k->type), k->path); 55 return sd_bus_message_close_container(reply); 63 sd_bus_message *reply, 70 assert(reply); 75 return sd_bus_message_append(reply, "s", trigger ? trigger->id : ""); 28 property_get_paths( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 58 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-swap.c | 34 sd_bus_message *reply, 42 assert(reply); 52 return sd_bus_message_append(reply, "i", p); 60 sd_bus_message *reply, 68 assert(reply); 74 return sd_bus_message_append(reply, "s", options); 29 property_get_priority( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
H A D | dbus-execute.c | 63 sd_bus_message *reply, 72 assert(reply); 75 r = sd_bus_message_open_container(reply, 'a', "(sb)"); 82 r = sd_bus_message_append(reply, "(sb)", fn[0] == '-' ? fn + 1 : fn, fn[0] == '-'); 87 return sd_bus_message_close_container(reply); 95 sd_bus_message *reply, 104 assert(reply); 117 return sd_bus_message_append(reply, "i", n); 125 sd_bus_message *reply, 134 assert(reply); 58 property_get_environment_files( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 90 property_get_oom_score_adjust( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 120 property_get_nice( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 149 property_get_ioprio( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 177 property_get_cpu_sched_policy( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 204 property_get_cpu_sched_priority( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 234 property_get_cpu_affinity( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 255 property_get_timer_slack_nsec( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 279 property_get_capability_bounding_set( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 297 property_get_ambient_capabilities( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 315 property_get_capabilities( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 343 property_get_syscall_filter( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 396 property_get_syscall_archs( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 441 property_get_syscall_errno( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 459 property_get_selinux_context( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 477 property_get_apparmor_profile( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 495 property_get_smack_process_label( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 513 property_get_personality( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 531 property_get_address_families( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 579 property_get_working_directory( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 606 property_get_syslog_level( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 624 property_get_syslog_facility( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 738 append_exec_command(sd_bus_message *reply, ExecCommand *c) argument 774 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) argument 800 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) argument [all...] |
H A D | dbus-unit.c | 44 sd_bus_message *reply, 54 assert(reply); 57 r = sd_bus_message_open_container(reply, 'a', "s"); 62 r = sd_bus_message_append(reply, "s", t); 67 return sd_bus_message_close_container(reply); 75 sd_bus_message *reply, 82 assert(reply); 86 return sd_bus_message_append(reply, "s", f ? f->id : ""); 94 sd_bus_message *reply, 104 assert(reply); 39 property_get_names( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 70 property_get_following( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 89 property_get_dependencies( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 119 property_get_obsolete_dependencies( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 135 property_get_description( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 153 property_get_active_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 171 property_get_sub_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 189 property_get_unit_file_preset( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 212 property_get_unit_file_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 230 property_get_can_start( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 248 property_get_can_stop( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 269 property_get_can_reload( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 287 property_get_can_isolate( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 305 property_get_job( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 331 property_get_need_daemon_reload( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 349 property_get_conditions( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 391 property_get_load_error( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 723 property_get_slice( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 741 property_get_current_memory( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 765 property_get_current_tasks( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 789 property_get_cpu_usage( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 813 property_get_cgroup( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
H A D | dbus-timer.c | 34 sd_bus_message *reply, 43 assert(reply); 46 r = sd_bus_message_open_container(reply, 'a', "(stt)"); 70 r = sd_bus_message_append(reply, "(stt)", buf, v->value, v->next_elapse); 75 return sd_bus_message_close_container(reply); 83 sd_bus_message *reply, 92 assert(reply); 95 r = sd_bus_message_open_container(reply, 'a', "(sst)"); 109 r = sd_bus_message_append(reply, "(sst)", timer_base_to_string(v->base), buf, v->next_elapse); 114 return sd_bus_message_close_container(reply); 29 property_get_monotonic_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 78 property_get_calendar_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 117 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 137 property_get_next_elapse_monotonic( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
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 | loopback-setup.c | 49 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL; 57 r = sd_netlink_call(rtnl, req, 0, &reply); 61 r = sd_rtnl_message_link_get_flags(reply, &flags);
|
H A D | dbus-mount.c | 34 sd_bus_message *reply, 42 assert(reply); 52 return sd_bus_message_append(reply, "s", d); 60 sd_bus_message *reply, 68 assert(reply); 78 return sd_bus_message_append(reply, "s", d); 86 sd_bus_message *reply, 94 assert(reply); 104 return sd_bus_message_append(reply, "s", d); 29 property_get_what( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 81 property_get_type( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-objects.c | 83 static int get_handler(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument 89 r = sd_bus_message_append(reply, "s", c->something); 115 static int value_handler(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument 121 r = sd_bus_message_append(reply, "s", s); 298 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; 311 r = sd_bus_call_method(bus, "org.freedesktop.systemd.test", "/foo", "org.freedesktop.systemd.test", "AlterSomething", &error, &reply, "s", "hallo"); 314 r = sd_bus_message_read(reply, "s", &s); 318 sd_bus_message_unref(reply); 319 reply = NULL; 321 r = sd_bus_call_method(bus, "org.freedesktop.systemd.test", "/foo", "org.freedesktop.systemd.test", "Doesntexist", &error, &reply, ""); [all...] |
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 | test-bus-server.c | 58 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL; 85 r = sd_bus_message_new_method_return(m, &reply); 96 &reply, 104 if (reply) { 105 r = sd_bus_send(bus, reply, NULL); 107 log_error_errno(r, "Failed to send reply: %m"); 125 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL; 146 r = sd_bus_call(bus, m, 0, &error, &reply);
|
/systemd/src/login/ |
H A D | test-inhibit.c | 30 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; 42 &reply, 46 r = sd_bus_message_read_basic(reply, SD_BUS_TYPE_UNIX_FD, &fd); 54 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; 67 &reply, 71 r = sd_bus_message_enter_container(reply, SD_BUS_TYPE_ARRAY, "(ssssuu)"); 74 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) {
|
H A D | logind-user-dbus.c | 36 sd_bus_message *reply, 44 assert(reply); 51 return sd_bus_message_append(reply, "(so)", u->display ? u->display->id : "", p); 59 sd_bus_message *reply, 66 assert(reply); 69 return sd_bus_message_append(reply, "s", user_state_to_string(user_get_state(u))); 77 sd_bus_message *reply, 86 assert(reply); 89 r = sd_bus_message_open_container(reply, 'a', "(so)"); 100 r = sd_bus_message_append(reply, "(s 31 property_get_display( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 54 property_get_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 72 property_get_sessions( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 109 property_get_idle_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 127 property_get_idle_since_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 150 property_get_linger( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
H A D | logind-seat-dbus.c | 38 sd_bus_message *reply, 46 assert(reply); 53 return sd_bus_message_append(reply, "(so)", s->active ? s->active->id : "", p); 61 sd_bus_message *reply, 68 assert(reply); 71 return sd_bus_message_append(reply, "b", seat_can_multi_session(s)); 79 sd_bus_message *reply, 86 assert(reply); 89 return sd_bus_message_append(reply, "b", seat_can_tty(s)); 97 sd_bus_message *reply, 33 property_get_active_session( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 56 property_get_can_multi_session( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 74 property_get_can_tty( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 92 property_get_can_graphical( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 110 property_get_sessions( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 151 property_get_idle_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 169 property_get_idle_since_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
H A D | inhibit.c | 50 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; 61 &reply, 66 r = sd_bus_message_read_basic(reply, SD_BUS_TYPE_UNIX_FD, &fd); 78 _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL; 91 &reply, 96 r = sd_bus_message_enter_container(reply, SD_BUS_TYPE_ARRAY, "(ssssuu)"); 100 while ((r = sd_bus_message_read(reply, "(ssssuu)", &what, &who, &why, &mode, &uid, &pid)) > 0) { 123 r = sd_bus_message_exit_container(reply);
|
H A D | logind-session-dbus.c | 39 sd_bus_message *reply, 47 assert(reply); 54 return sd_bus_message_append(reply, "(uo)", (uint32_t) s->user->uid, p); 62 sd_bus_message *reply, 69 assert(reply); 72 return sd_bus_message_append(reply, "s", s->user->name); 80 sd_bus_message *reply, 88 assert(reply); 95 return sd_bus_message_append(reply, "(so)", s->seat ? s->seat->id : "", p); 106 sd_bus_message *reply, 34 property_get_user( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 57 property_get_name( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 75 property_get_seat( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 101 property_get_active( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 119 property_get_state( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 137 property_get_idle_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument 155 property_get_idle_since_hint( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument [all...] |
/systemd/src/libsystemd-network/ |
H A D | test-acd.c | 78 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL, *reply = NULL; 92 assert_se(sd_netlink_call(rtnl, m, 0, &reply) >= 0); 94 assert_se(sd_rtnl_message_link_get_ifindex(reply, &ifindex) >= 0); 95 assert_se(sd_netlink_message_read_ether_addr(reply, IFLA_ADDRESS, &ha) >= 0);
|
H A D | test-ipv4ll-manual.c | 93 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL, *reply = NULL; 104 assert_se(sd_netlink_call(rtnl, m, 0, &reply) >= 0); 106 assert_se(sd_rtnl_message_link_get_ifindex(reply, &ifindex) >= 0); 107 assert_se(sd_netlink_message_read_ether_addr(reply, IFLA_ADDRESS, &ha) >= 0);
|
/systemd/src/nss-mymachines/ |
H A D | nss-mymachines.c | 90 _cleanup_(sd_bus_message_unrefp) sd_bus_message* reply = NULL; 131 &reply, 136 r = sd_bus_message_enter_container(reply, 'a', "(iay)"); 140 r = count_addresses(reply, AF_UNSPEC, &c); 165 while ((r = sd_bus_message_enter_container(reply, 'r', "iay")) > 0) { 170 r = sd_bus_message_read(reply, "i", &family); 174 r = sd_bus_message_read_array(reply, 'y', &a, &sz); 178 r = sd_bus_message_exit_container(reply); 205 r = sd_bus_message_exit_container(reply); 241 _cleanup_(sd_bus_message_unrefp) sd_bus_message* reply [all...] |
/systemd/src/network/ |
H A D | networkd-network-bus.c | 30 sd_bus_message *reply, 39 assert(reply); 45 r = sd_bus_message_open_container(reply, 'a', "s"); 50 r = sd_bus_message_append(reply, "s", strempty(ether)); 55 return sd_bus_message_close_container(reply); 25 property_get_ether_addrs( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
|
/systemd/src/nss-resolve/ |
H A D | nss-resolve.c | 127 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL, *reply = NULL; 166 r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); 180 c = count_addresses(reply, AF_UNSPEC, &canonical); 210 r = sd_bus_message_enter_container(reply, 'a', "(iiay)"); 214 while ((r = sd_bus_message_enter_container(reply, 'r', "iiay")) > 0) { 221 r = sd_bus_message_read(reply, "ii", &ifindex, &family); 230 r = sd_bus_message_read_array(reply, 'y', &a, &sz); 234 r = sd_bus_message_exit_container(reply); 312 _cleanup_(sd_bus_message_unrefp) sd_bus_message *req = NULL, *reply = NULL; 358 r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); [all...] |