summaryrefslogtreecommitdiffstats
path: root/api.c
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-01 14:05:09 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-01 14:05:09 +0000
commitfd13e9f6d4f315018fc88258ba965c32e12601da (patch)
treecf50097167492756530eb25c89904c4d550f2475 /api.c
parent4f1301efe29a3a37470d10a4bb6a497f2e532be5 (diff)
downloadlibcg-fd13e9f6d4f315018fc88258ba965c32e12601da.tar.gz
libcg-fd13e9f6d4f315018fc88258ba965c32e12601da.tar.xz
libcg-fd13e9f6d4f315018fc88258ba965c32e12601da.zip
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
libcgroup: put common code in a function This patch puts the common code for creating cgroup structure into a function struct cgroup *new_cgroup(). The function uses few global variables which are changed before the function call and takes few variables as arguments. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@93 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'api.c')
0 files changed, 0 insertions, 0 deletions