bus_error_setfv(&error, name, format, ap);
va_end(ap);
bus_error_setfv(&error, name, format, ap);
va_end(ap);
bus_error_set_errnofv(&berror, error, format, ap);
va_end(ap);
bus_error_set_errnofv(&berror, error, format, ap);
va_end(ap);
assert_return(m, -EINVAL);
assert_return(!m->sealed, -EPERM);
assert_return(m->header->type == SD_BUS_MESSAGE_METHOD_CALL, -EPERM);
if (b)
assert_return(m, -EINVAL);
assert_return(!m->sealed, -EPERM);
assert_return(m->header->type == SD_BUS_MESSAGE_METHOD_CALL, -EPERM);
if (b)
assert_return(m, -EINVAL);
assert_return(!m->sealed, -EPERM);
if (b)
assert_return(m, -EINVAL);
assert_return(!m->sealed, -EPERM);
if (b)
struct bus_container *c, *w;
uint32_t *array_size = NULL;
char *signature;
struct bus_container *c, *w;
uint32_t *array_size = NULL;
char *signature;
/* If this is something we can send as memfd, then let's seal
the memfd now. Note that we can send memfds as payload only
/* If this is something we can send as memfd, then let's seal
the memfd now. Note that we can send memfds as payload only
if (m->reply_cookie != 0)
return -EBADMSG;
if (!streq(signature, "u"))
return -EBADMSG;
if (m->reply_cookie != 0)
return -EBADMSG;
if (!streq(signature, "u"))
return -EBADMSG;
- r = message_peek_field_uint32(m, &ri, item_size, &m->reply_cookie);
+ r = message_peek_field_uint32(m, &ri, item_size, &serial);
- r = sd_bus_message_new_signal(bus, (*m)->path, (*m)->interface, (*m)->member, &n);
+ r = sd_bus_message_new_signal(bus, &n, (*m)->path, (*m)->interface, (*m)->member);
- r = sd_bus_message_new_method_call(bus, (*m)->destination, (*m)->path, (*m)->interface, (*m)->member, &n);
+ r = sd_bus_message_new_method_call(bus, &n, (*m)->destination, (*m)->path, (*m)->interface, (*m)->member);