summaryrefslogtreecommitdiffstats
path: root/src/core/target.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/target.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/target.h b/src/core/target.h
new file mode 100644
index 0000000..28f7888
--- /dev/null
+++ b/src/core/target.h
@@ -0,0 +1,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);