diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-06-02 16:21:12 +0530 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-06-03 13:49:34 +0530 |
commit | 54532f896e9639941d7c88b0cf0aa31c842eba58 (patch) | |
tree | 13680263e10cecdd3f0436c773d836215c28cce0 /include | |
parent | 8279047b888cdc269c044d9ec5389def63620c9f (diff) | |
download | libcg-54532f896e9639941d7c88b0cf0aa31c842eba58.tar.gz libcg-54532f896e9639941d7c88b0cf0aa31c842eba58.tar.xz libcg-54532f896e9639941d7c88b0cf0aa31c842eba58.zip |
libcgroup: Export cgroup_get_controller API
libcgroup: Export cgroup_get_controller API
This wrapper was not exposed for some reason earlier. Make it available
from the library.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcgroup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h index 085c17a..c526f58 100644 --- a/include/libcgroup.h +++ b/include/libcgroup.h @@ -331,6 +331,8 @@ int cgroup_get_value_bool(struct cgroup_controller *controller, const char *name, bool *value); int cgroup_set_value_bool(struct cgroup_controller *controller, const char *name, bool value); +struct cgroup_controller *cgroup_get_controller(struct cgroup *cgroup, + const char *name); /* * Config related stuff */ |