On Tue, Jan 05, 2010 at 10:43:48AM +0100, Ivana Hutarova Varekova wrote: > api for generating the list of variables of given controller: > > * 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" >
I am not so sure I am in favour of these APIs. The main reason being that these expose a lot of controller specific internal information, and what we are doing with Layer 2 API is to try to abstract away as much of that as possible. This is in the exact opposite direction. Balbir, Jan, what's your opinion? Thanks, -- regards, Dhaval ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
