]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/machine/operation.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
11 typedef struct Operation Operation
;
15 #define OPERATIONS_MAX 64
21 sd_bus_message
*message
;
24 sd_event_source
*event_source
;
25 int (*done
)(Operation
*o
, int ret
, sd_bus_error
*error
);
26 LIST_FIELDS(Operation
, operations
);
27 LIST_FIELDS(Operation
, operations_by_machine
);
30 int operation_new(Manager
*manager
, Machine
*machine
, pid_t child
, sd_bus_message
*message
, int errno_fd
, Operation
**ret
);
31 Operation
*operation_free(Operation
*o
);