chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add first_word() call
[elogind.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 "unit.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 UnitVTable snapshot_vtable;
23
24
#endif