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 <[email protected]> --- include/libcgroup.h | 2 ++ src/libcgroup.map | 1 + 2 files changed, 3 insertions(+) Index: libcg/include/libcgroup.h =================================================================== --- libcg.orig/include/libcgroup.h +++ libcg/include/libcgroup.h @@ -331,6 +331,8 @@ int cgroup_get_value_bool(struct cgroup_ 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 */ Index: libcg/src/libcgroup.map =================================================================== --- libcg.orig/src/libcgroup.map +++ libcg/src/libcgroup.map @@ -62,4 +62,5 @@ global: cgroup_read_stats_begin; cgroup_read_stats_next; cgroup_read_stats_end; + cgroup_get_controller; } CGROUP_0.33; -- regards, Dhaval ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
