]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
c2f1db8f | 2 | #pragma once |
c22cbe26 | 3 | |
57b7a260 FS |
4 | #include "unit.h" |
5 | ||
c22cbe26 LP |
6 | typedef struct Target Target; |
7 | ||
c22cbe26 | 8 | struct Target { |
ac155bb8 | 9 | Unit meta; |
c22cbe26 | 10 | |
a16e1123 | 11 | TargetState state, deserialized_state; |
c22cbe26 LP |
12 | }; |
13 | ||
87f0e418 | 14 | extern const UnitVTable target_vtable; |
57b7a260 FS |
15 | |
16 | DEFINE_CAST(TARGET, Target); |