]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api for generating the list of variables of given controller
authorIvana Hutarova Varekova <varekova@redhat.com>
Mon, 8 Feb 2010 12:31:47 +0000 (13:31 +0100)
committerBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 10 Feb 2010 11:13:36 +0000 (16:43 +0530)
commit49f97cacb816379f629625cf23beb94729a4bbdb
treeab1e813791db94715a7b94e828098aa3f16b69f1
parent6b50959c3128c9ba7cfcd9602a39877f69aa5351
api for generating the list of variables of given controller

api for generating the list of variables of given controller:
changelog - v2:
fixed the space on the end of lines

  * int cgroup_get_value_name_count(struct cgroup_controller,  *controller)
  functions return the number of variables in "controller"

  * char *cgroup_get_value_name(struct cgroup_controller *controller, int index)
  function return the "index" variable of "controller"

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
include/libcgroup.h
src/libcgroup.map
src/wrapper.c