| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "bus-map-properties.h" |
| 5 |
#include "shared-forward.h" |
| 6 |
|
| 7 |
int verb_list_machines(int argc, char *argv[], uintptr_t _data, void *userdata); |
| 8 |
|
| 9 |
struct machine_info { |
| 10 |
bool is_host; |
| 11 |
char *name; |
| 12 |
char *version; |
| 13 |
char *tainted; |
| 14 |
uint64_t timestamp; |
| 15 |
uint32_t n_names; |
| 16 |
uint32_t n_failed_units; |
| 17 |
uint32_t n_jobs; |
| 18 |
char *control_group; |
| 19 |
char *state; |
| 20 |
}; |
| 21 |
|
| 22 |
void machine_info_clear(struct machine_info *info); |
| 23 |
|
| 24 |
extern const struct bus_properties_map machine_info_property_map[]; |