mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-22 23:36:40 +07:00
25 lines
381 B
C
25 lines
381 B
C
|
/*-*- 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
|