diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-18 03:07:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-18 03:07:42 +0200 |
commit | 41447faf1fc57463becabce399d983df762a104c (patch) | |
tree | fe449b8a472b12b2005280ed5552d7f53d19524b /unit.h | |
parent | 6dde1f33e1249a8a6b354372dd95065f26b8c712 (diff) |
snapshot: implement snapshot unit logic
Diffstat (limited to 'unit.h')
-rw-r--r-- | unit.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -59,8 +59,8 @@ enum UnitType { UNIT_DEVICE, UNIT_MOUNT, UNIT_AUTOMOUNT, - UNIT_TIMER, UNIT_SNAPSHOT, + UNIT_TIMER, _UNIT_TYPE_MAX, _UNIT_TYPE_INVALID = -1 }; @@ -209,6 +209,9 @@ struct UnitVTable { /* Instances make no sense for this type */ bool no_instances:1; + /* Execlude this type from snapshots */ + bool no_snapshots:1; + /* This should reset all type-specific variables. This should * not allocate memory, and is either called with 0 * initialized data, or with data left from done() */ |