chiark / gitweb /
umount: unescape path from /proc/self/mountinfo first, then check against api mount...
[elogind.git] / src / cgroup-show.h
index 3def2f309532924f2a037289a82d20bd46463288..ae5b13b5647595865a8764d68600fa574f920ed3 100644 (file)
@@ -1,4 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
 #ifndef foocgroupshowhfoo
 #define foocgroupshowhfoo
@@ -22,6 +22,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-void show_cgroup(const char *name, const char *prefix, unsigned columns);
+int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns);
+int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns);
 
 #endif