summaryrefslogtreecommitdiff
path: root/snapshot.h
blob: 563af41293360a82558defd58aa070a884aee991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*-*- 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