chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec: optionally apply cgroup attributes to the cgroups we create
[elogind.git]
/
src
/
snapshot.h
diff --git
a/src/snapshot.h
b/src/snapshot.h
index 959a5090ecf318d0242191cf954b61788d55a660..9a305204b975465b15d87712607364c3fa224947 100644
(file)
--- a/
src/snapshot.h
+++ b/
src/snapshot.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef foosnapshothfoo
#define foosnapshothfoo
#ifndef foosnapshothfoo
#define foosnapshothfoo
@@
-39,11
+39,12
@@
struct Snapshot {
SnapshotState state, deserialized_state;
bool cleanup;
SnapshotState state, deserialized_state;
bool cleanup;
+ bool by_snapshot_create:1;
};
extern const UnitVTable snapshot_vtable;
};
extern const UnitVTable snapshot_vtable;
-int snapshot_create(Manager *m, const char *name, bool cleanup, Snapshot **s);
+int snapshot_create(Manager *m, const char *name, bool cleanup,
DBusError *e,
Snapshot **s);
void snapshot_remove(Snapshot *s);
const char* snapshot_state_to_string(SnapshotState i);
void snapshot_remove(Snapshot *s);
const char* snapshot_state_to_string(SnapshotState i);