Systemd/snapshot.h
Lennart Poettering 87f0e418cf s/name/unit
2010-01-26 21:39:06 +01:00

25 lines
381 B
C

/*-*- Mode: C; c-basic-offset: 8 -*-*/
#ifndef foosnapshothfoo
#define foosnapshothfoo
typedef struct Snapshot Snapshot;
#include "unit.h"
typedef enum SnapshotState {
SNAPSHOT_DEAD,
SNAPSHOT_ACTIVE
} SnapshotState;
struct Snapshot {
Meta meta;
SnapshotState state;
bool cleanup:1;
};
extern const UnitVTable snapshot_vtable;
#endif