X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fsnapshot.h;h=e6dc661060664d859bdf22683b4d82ffbfc3ab0a;hp=9662d93164ca5479b7606b30fa57f9c64530371c;hb=615938651d3a4fd9253b08da00db22d451a8cef8;hpb=c2f1db8f83618e60dcded8303d14656d7d26b436 diff --git a/src/core/snapshot.h b/src/core/snapshot.h index 9662d9316..e6dc66106 100644 --- a/src/core/snapshot.h +++ b/src/core/snapshot.h @@ -38,13 +38,12 @@ struct Snapshot { SnapshotState state, deserialized_state; bool cleanup; - bool by_snapshot_create:1; }; extern const UnitVTable snapshot_vtable; -int snapshot_create(Manager *m, const char *name, bool cleanup, DBusError *e, Snapshot **s); +int snapshot_create(Manager *m, const char *name, bool cleanup, sd_bus_error *e, 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_;