1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
systemd/target.h

25 lines
362 B
C
Raw Normal View History

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