summaryrefslogtreecommitdiff
path: root/snapshot.h
blob: 8d35e174c8468f19654ee36bbdefa9f5476526c3 (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 "name.h"

typedef enum SnapshotState {
        SNAPSHOT_DEAD,
        SNAPSHOT_ACTIVE
} SnapshotState;

struct Snapshot {
        Meta meta;

        SnapshotState state;
        bool cleanup:1;
};

extern const NameVTable snapshot_vtable;

#endif