]> git.ipfire.org Git - people/ms/systemd.git/blob - snapshot.h
first attempt in implementinging execution logic
[people/ms/systemd.git] / snapshot.h
1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
2
3 #ifndef foosnapshothfoo
4 #define foosnapshothfoo
5
6 typedef struct Snapshot Snapshot;
7
8 #include "name.h"
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
22 extern const NameVTable snapshot_vtable;
23
24 #endif