1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once #include "unit.h" typedef struct Target Target; struct Target { Unit meta; TargetState state, deserialized_state; }; extern const UnitVTable target_vtable; DEFINE_CAST(TARGET, Target);