X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsnapshot.h;h=2b5f3c338a1711e41470166c7cf3d8394207f516;hp=959a5090ecf318d0242191cf954b61788d55a660;hb=3c661fadd5e0d74acc7596024db31be00c53b448;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221 diff --git a/src/snapshot.h b/src/snapshot.h index 959a5090e..2b5f3c338 100644 --- a/src/snapshot.h +++ b/src/snapshot.h @@ -39,11 +39,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, 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);