]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/machine/operation.h
2144d9fba2db4fd7f0a1adaa05e6b1e2702ce522
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2016 Lennart Poettering
15 typedef struct Operation Operation
;
19 #define OPERATIONS_MAX 64
25 sd_bus_message
*message
;
28 sd_event_source
*event_source
;
29 int (*done
)(Operation
*o
, int ret
, sd_bus_error
*error
);
30 LIST_FIELDS(Operation
, operations
);
31 LIST_FIELDS(Operation
, operations_by_machine
);
34 int operation_new(Manager
*manager
, Machine
*machine
, pid_t child
, sd_bus_message
*message
, int errno_fd
, Operation
**ret
);
35 Operation
*operation_free(Operation
*o
);