Systemd/target.h

25 lines
362 B
C
Raw Normal View History

2010-01-26 19:06:50 +01:00
/*-*- Mode: C; c-basic-offset: 8 -*-*/
#ifndef footargethfoo
#define footargethfoo
typedef struct Target Target;
2010-01-26 21:39:06 +01:00
#include "unit.h"
2010-01-26 19:06:50 +01:00
typedef enum TargetState {
TARGET_DEAD,
2010-01-27 06:33:27 +01:00
TARGET_ACTIVE,
_TARGET_STATE_MAX
2010-01-26 19:06:50 +01:00
} TargetState;
struct Target {
Meta meta;
TargetState state;
};
2010-01-26 21:39:06 +01:00
extern const UnitVTable target_vtable;
2010-01-26 19:06:50 +01:00
#endif