X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=systemd-interfaces.vala;h=72655d63505674059298886df470266f0209444d;hb=173e382182d7f1ad2b132b6e923ef731d6affdf7;hp=045bb550477a0c91b46865ee9a98661a3470f031;hpb=77a38d306922b3e980c06a3a377b344ea429edd7;p=elogind.git diff --git a/systemd-interfaces.vala b/systemd-interfaces.vala index 045bb5504..72655d635 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); @@ -83,8 +88,10 @@ public interface Unit : DBus.Object { public abstract string active_state { owned get; } public abstract string sub_state { owned get; } public abstract string fragment_path { owned get; } + public abstract uint64 inactive_exit_timestamp { owned get; } public abstract uint64 active_enter_timestamp { owned get; } public abstract uint64 active_exit_timestamp { owned get; } + public abstract uint64 inactive_enter_timestamp { owned get; } public abstract bool can_start { owned get; } public abstract bool can_reload { owned get; } public abstract JobLink job { owned get; /* FIXME: this setter is a temporary fix to make valac not segfault */ set; }