X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd-interfaces.vala;h=1d202e0314cbc901bfe02f9deffa6a1517f8ed26;hp=9a8c1dcdf3a04335e115b1a494288c798e96d0fb;hb=cf1a105550766d2251bc10240b6058a37babd600;hpb=c4e2ceae941d02de5574becbfd3b4db15de2eda3 diff --git a/src/systemd-interfaces.vala b/src/systemd-interfaces.vala index 9a8c1dcdf..1d202e031 100644 --- a/src/systemd-interfaces.vala +++ b/src/systemd-interfaces.vala @@ -62,7 +62,7 @@ public interface Manager : DBus.Object { public abstract ObjectPath reload_or_restart_unit(string name, string mode = "replace") throws DBus.Error; public abstract ObjectPath reload_or_try_restart_unit(string name, string mode = "replace") throws DBus.Error; - public abstract void reset_maintenance_unit(string name = "") throws DBus.Error; + public abstract void reset_failed_unit(string name = "") throws DBus.Error; public abstract void clear_jobs() throws DBus.Error; @@ -74,6 +74,10 @@ public interface Manager : DBus.Object { public abstract void reload() throws DBus.Error; public abstract void reexecute() throws DBus.Error; public abstract void exit() throws DBus.Error; + public abstract void halt() throws DBus.Error; + public abstract void power_off() throws DBus.Error; + public abstract void reboot() throws DBus.Error; + public abstract void kexec() throws DBus.Error; public abstract ObjectPath create_snapshot(string name = "", bool cleanup = false) throws DBus.Error; @@ -140,7 +144,7 @@ public interface Unit : DBus.Object { public abstract ObjectPath reload_or_restart(string mode = "replace") throws DBus.Error; public abstract ObjectPath reload_or_try_restart(string mode = "replace") throws DBus.Error; - public abstract void reset_maintenance() throws DBus.Error; + public abstract void reset_failed() throws DBus.Error; } [DBus (name = "org.freedesktop.systemd1.Job")]