chiark / gitweb /
snapshot: implement snapshot unit logic
[elogind.git] / systemd-interfaces.vala
index 0323c0dbcb11cd898a4975fbec532394bf422594..dae0648c6424ae0e1b8122a03ffe670e154a2be6 100644 (file)
@@ -27,6 +27,7 @@ public interface Manager : DBus.Object {
                 string description;
                 string load_state;
                 string active_state;
+                string sub_state;
                 ObjectPath unit_path;
                 uint32 job_id;
                 string job_type;
@@ -56,6 +57,8 @@ public interface Manager : DBus.Object {
 
         public abstract string dump() throws DBus.Error;
 
+        public abstract ObjectPath create_snapshot(string name, bool cleanup = false) throws DBus.Error;
+
         public abstract signal void unit_new(string id, ObjectPath path);
         public abstract signal void unit_removed(string id, ObjectPath path);
         public abstract signal void job_new(uint32 id, ObjectPath path);