]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
daf71ef6 LP |
2 | #pragma once |
3 | ||
4 | #include <inttypes.h> | |
5 | #include <stdbool.h> | |
6 | ||
7 | #include "bus-map-properties.h" | |
8 | #include "time-util.h" | |
9 | ||
10 | int list_machines(int argc, char *argv[], void *userdata); | |
11 | ||
12 | struct machine_info { | |
13 | bool is_host; | |
14 | char *name; | |
15 | char *state; | |
16 | char *control_group; | |
17 | uint32_t n_failed_units; | |
18 | uint32_t n_jobs; | |
19 | usec_t timestamp; | |
20 | }; | |
21 | ||
22 | void machine_info_clear(struct machine_info *info); | |
23 | ||
24 | extern const struct bus_properties_map machine_info_property_map[]; |