]>
Commit | Line | Data |
---|---|---|
5cb5a6ff LP |
1 | /*-*- Mode: C; c-basic-offset: 8 -*-*/ |
2 | ||
3 | #ifndef foosnapshothfoo | |
4 | #define foosnapshothfoo | |
5 | ||
6 | typedef struct Snapshot Snapshot; | |
7 | ||
87f0e418 | 8 | #include "unit.h" |
5cb5a6ff LP |
9 | |
10 | typedef enum SnapshotState { | |
11 | SNAPSHOT_DEAD, | |
12 | SNAPSHOT_ACTIVE | |
13 | } SnapshotState; | |
14 | ||
15 | struct Snapshot { | |
16 | Meta meta; | |
17 | ||
18 | SnapshotState state; | |
19 | bool cleanup:1; | |
20 | }; | |
21 | ||
87f0e418 | 22 | extern const UnitVTable snapshot_vtable; |
5cb5a6ff LP |
23 | |
24 | #endif |