mirror of
https://github.com/systemd/systemd.git
synced 2024-12-18 06:33:36 +08:00
25 lines
362 B
C
25 lines
362 B
C
/*-*- Mode: C; c-basic-offset: 8 -*-*/
|
|
|
|
#ifndef footargethfoo
|
|
#define footargethfoo
|
|
|
|
typedef struct Target Target;
|
|
|
|
#include "unit.h"
|
|
|
|
typedef enum TargetState {
|
|
TARGET_DEAD,
|
|
TARGET_ACTIVE,
|
|
_TARGET_STATE_MAX
|
|
} TargetState;
|
|
|
|
struct Target {
|
|
Meta meta;
|
|
|
|
TargetState state;
|
|
};
|
|
|
|
extern const UnitVTable target_vtable;
|
|
|
|
#endif
|