X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsnapshot.h;h=bf92e99a8b4af263d11fed33e7310aeecd8a5285;hp=25617906392c2d3acc518af9d793d7e78ecb3f3a;hb=54ecda32c60c6f2548f74703bfd324694393edaa;hpb=6ec1117a7416a999d588abf68a599b8bfd965ccd diff --git a/src/snapshot.h b/src/snapshot.h index 256179063..bf92e99a8 100644 --- 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 @@ -34,7 +34,7 @@ typedef enum SnapshotState { } SnapshotState; struct Snapshot { - Meta meta; + Unit meta; SnapshotState state, deserialized_state; @@ -44,7 +44,7 @@ struct Snapshot { 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);