From d2a30975827b3447ca0fd5a2c06ec1ff15ce7f0f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 18 Jan 2013 01:44:41 +0100 Subject: systemctl: add new "get-cgroup-attr" to query current cgroup attribute value Also adds a pair of bus calls for this to the daemon. --- src/core/dbus-unit.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/core/dbus-unit.h') diff --git a/src/core/dbus-unit.h b/src/core/dbus-unit.h index c7d5863a97..c8903f8e5e 100644 --- a/src/core/dbus-unit.h +++ b/src/core/dbus-unit.h @@ -127,13 +127,9 @@ " \n" \ " \n" \ " \n" \ - " \n" \ - " \n" \ - " \n" \ - " \n" \ - " \n" \ - " \n" \ - " \n" \ + " \n" \ + " \n" \ + " \n" \ " \n" \ " \n" \ " \n" \ @@ -142,6 +138,14 @@ " \n" \ " \n" \ " \n" \ + " \n" \ + " \n" \ + " \n" \ + " \n" \ + " \n" \ + " \n" \ + " \n" \ + " \n" \ " \n" #define BUS_UNIT_INTERFACES_LIST \ @@ -164,6 +168,7 @@ DBusHandlerResult bus_unit_queue_job( int bus_unit_cgroup_set(Unit *u, DBusMessageIter *iter); int bus_unit_cgroup_unset(Unit *u, DBusMessageIter *iter); +int bus_unit_cgroup_attribute_get(Unit *u, DBusMessageIter *iter, char ***_result); int bus_unit_cgroup_attribute_set(Unit *u, DBusMessageIter *iter); int bus_unit_cgroup_attribute_unset(Unit *u, DBusMessageIter *iter); -- cgit v1.2.3-54-g00ecf