summaryrefslogtreecommitdiff
path: root/systemd-interfaces.vala
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-18 03:07:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-18 03:07:42 +0200
commit41447faf1fc57463becabce399d983df762a104c (patch)
treefe449b8a472b12b2005280ed5552d7f53d19524b /systemd-interfaces.vala
parent6dde1f33e1249a8a6b354372dd95065f26b8c712 (diff)
snapshot: implement snapshot unit logic
Diffstat (limited to 'systemd-interfaces.vala')
-rw-r--r--systemd-interfaces.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd-interfaces.vala b/systemd-interfaces.vala
index 069c5a1aa2..dae0648c64 100644
--- a/systemd-interfaces.vala
+++ b/systemd-interfaces.vala
@@ -57,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);