]>
git.proxmox.com Git - systemd.git/blob - src/shared/bus-unit-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
9 typedef struct UnitInfo
{
12 const char *description
;
13 const char *load_state
;
14 const char *active_state
;
15 const char *sub_state
;
16 const char *following
;
17 const char *unit_path
;
23 int bus_parse_unit_info(sd_bus_message
*message
, UnitInfo
*u
);
25 int bus_append_unit_property_assignment(sd_bus_message
*m
, UnitType t
, const char *assignment
);
26 int bus_append_unit_property_assignment_many(sd_bus_message
*m
, UnitType t
, char **l
);
28 int bus_deserialize_and_dump_unit_file_changes(sd_bus_message
*m
, bool quiet
, UnitFileChange
**changes
, size_t *n_changes
);
30 int unit_load_state(sd_bus
*bus
, const char *name
, char **load_state
);