Lines Matching refs:call
711 sd_bus_message *call,
718 assert_return(call, -EINVAL);
719 assert_return(call->sealed, -EPERM);
720 assert_return(call->header->type == SD_BUS_MESSAGE_METHOD_CALL, -EINVAL);
721 assert_return(call->bus->state != BUS_UNSET, -ENOTCONN);
724 t = message_new(call->bus, type);
729 t->reply_cookie = BUS_MESSAGE_COOKIE(call);
737 if (call->sender) {
738 r = message_append_field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, call->sender, &t->destination);
743 t->dont_send = !!(call->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED);
744 t->enforced_reply_signature = call->enforced_reply_signature;
755 sd_bus_message *call,
758 return message_new_reply(call, SD_BUS_MESSAGE_METHOD_RETURN, m);
762 sd_bus_message *call,
772 r = message_new_reply(call, SD_BUS_MESSAGE_METHOD_ERROR, &t);
797 sd_bus_message *call,
813 return sd_bus_message_new_method_error(call, m, &error);
817 sd_bus_message *call,
825 return sd_bus_message_new_method_error(call, m, p);
829 return sd_bus_message_new_method_error(call, m, &berror);
833 sd_bus_message *call,
846 return sd_bus_message_new_method_error(call, m, &berror);
4439 /* Ideally, we'd just call ourselves recursively on every