Lines Matching refs:Transfer

46 typedef struct Transfer Transfer;
60 struct Transfer {
120 static Transfer *transfer_unref(Transfer *t) {
148 DEFINE_TRIVIAL_CLEANUP_FUNC(Transfer*, transfer_unref);
150 static int transfer_new(Manager *m, Transfer **ret) {
151 _cleanup_(transfer_unrefp) Transfer *t = NULL;
165 t = new0(Transfer, 1);
195 static void transfer_send_log_line(Transfer *t, const char *line) {
208 "org.freedesktop.import1.Transfer",
217 static void transfer_send_logs(Transfer *t, bool flush) {
272 static int transfer_finalize(Transfer *t, bool success) {
297 static int transfer_cancel(Transfer *t) {
311 Transfer *t = userdata;
338 Transfer *t = userdata;
364 static int transfer_start(Transfer *t) {
535 Transfer *t;
582 Transfer *t;
696 static Transfer *manager_find(Manager *m, TransferType type, const char *remote) {
697 Transfer *t;
715 _cleanup_(transfer_unrefp) Transfer *t = NULL;
780 _cleanup_(transfer_unrefp) Transfer *t = NULL;
845 _cleanup_(transfer_unrefp) Transfer *t = NULL;
896 return sd_bus_error_setf(error, BUS_ERROR_TRANSFER_IN_PROGRESS, "Transfer for %s already in progress.", remote);
930 Transfer *t;
968 Transfer *t = userdata;
997 Transfer *t;
1044 Transfer *t = userdata;
1058 SD_BUS_PROPERTY("Id", "u", NULL, offsetof(Transfer, id), SD_BUS_VTABLE_PROPERTY_CONST),
1059 SD_BUS_PROPERTY("Local", "s", NULL, offsetof(Transfer, local), SD_BUS_VTABLE_PROPERTY_CONST),
1060 SD_BUS_PROPERTY("Remote", "s", NULL, offsetof(Transfer, remote), SD_BUS_VTABLE_PROPERTY_CONST),
1061 SD_BUS_PROPERTY("Type", "s", property_get_type, offsetof(Transfer, type), SD_BUS_VTABLE_PROPERTY_CONST),
1062 SD_BUS_PROPERTY("Verify", "s", property_get_verify, offsetof(Transfer, verify), SD_BUS_VTABLE_PROPERTY_CONST),
1086 Transfer *t;
1116 Transfer *t;
1148 r = sd_bus_add_fallback_vtable(m->bus, NULL, "/org/freedesktop/import1/transfer", "org.freedesktop.import1.Transfer", transfer_vtable, transfer_object_find, m);