chiark / gitweb /
device: allow easy identification of network interfaces without their full sysfs...
[elogind.git] / systemd-interfaces.vala
index 3b65d3c90b3f2ecd0e352c7e20f444fccfcf6bff..a95dc01f55e62e81c0a3463416484e54d26b3885 100644 (file)
@@ -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;
 
@@ -57,7 +59,14 @@ 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 void reload() throws DBus.Error;
+        public abstract void reexecute() throws DBus.Error;
+        public abstract void exit() throws DBus.Error;
+
+        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);
@@ -73,6 +82,7 @@ public interface Unit : DBus.Object {
         }
 
         public abstract string id { owned get; }
+        public abstract string[] names { owned get; }
         public abstract string description { owned get; }
         public abstract string load_state { owned get; }
         public abstract string active_state { owned get; }