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