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: Add support for ignoring errors on SELinuxContext by prefixing it with -, like...
[elogind.git]
/
src
/
core
/
snapshot.h
diff --git
a/src/core/snapshot.h
b/src/core/snapshot.h
index 9662d93164ca5479b7606b30fa57f9c64530371c..e6dc661060664d859bdf22683b4d82ffbfc3ab0a 100644
(file)
--- a/
src/core/snapshot.h
+++ b/
src/core/snapshot.h
@@
-38,13
+38,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,
DBusE
rror *e, Snapshot **s);
+int snapshot_create(Manager *m, const char *name, bool cleanup,
sd_bus_e
rror *e, Snapshot **s);
void snapshot_remove(Snapshot *s);
void snapshot_remove(Snapshot *s);
-const char* snapshot_state_to_string(SnapshotState i);
-SnapshotState snapshot_state_from_string(const char *s);
+const char* snapshot_state_to_string(SnapshotState i)
_const_
;
+SnapshotState snapshot_state_from_string(const char *s)
_pure_
;