2017-11-18 17:09:20 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2012-07-18 19:07:51 +02:00
|
|
|
#pragma once
|
2010-01-26 19:06:50 +01:00
|
|
|
|
2018-05-15 20:17:34 +02:00
|
|
|
#include "unit.h"
|
|
|
|
|
2010-01-26 19:06:50 +01:00
|
|
|
typedef struct Target Target;
|
|
|
|
|
|
|
|
struct Target {
|
2012-01-15 12:04:08 +01:00
|
|
|
Unit meta;
|
2010-01-26 19:06:50 +01:00
|
|
|
|
2010-04-21 03:27:44 +02:00
|
|
|
TargetState state, deserialized_state;
|
2010-01-26 19:06:50 +01:00
|
|
|
};
|
|
|
|
|
2010-01-26 21:39:06 +01:00
|
|
|
extern const UnitVTable target_vtable;
|
2018-05-15 20:17:34 +02:00
|
|
|
|
|
|
|
DEFINE_CAST(TARGET, Target);
|