summaryrefslogtreecommitdiff
path: root/systemd-interfaces.vala
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-interfaces.vala')
-rw-r--r--systemd-interfaces.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/systemd-interfaces.vala b/systemd-interfaces.vala
index 045bb55047..a95dc01f55 100644
--- a/systemd-interfaces.vala
+++ b/systemd-interfaces.vala
@@ -43,6 +43,8 @@ public interface Manager : DBus.Object {
ObjectPath unit_path;
}
+ public abstract string[] environment { owned get; }
+
public abstract UnitInfo[] list_units() throws DBus.Error;
public abstract JobInfo[] list_jobs() throws DBus.Error;
@@ -63,6 +65,9 @@ public interface Manager : DBus.Object {
public abstract ObjectPath create_snapshot(string name = "", bool cleanup = false) throws DBus.Error;
+ public abstract void set_environment(string[] names) throws DBus.Error;
+ public abstract void unset_environment(string[] names) 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);