]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Add bindings for python
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Sun, 2 Jan 2011 10:03:32 +0000 (15:33 +0530)
committerBalbir Singh <balbir@mint.(none)>
Thu, 27 Jan 2011 12:55:06 +0000 (18:25 +0530)
commit45417a3cdaae0bd42488b7e5f7316a19770e8b6d
treecff2562af88ccd16a2248a0b3157db9dd54a39b8
parent9fba592d96cc145818645a4aa4c66c3376cd2427
Add bindings for python

The added bindings depend on swig and hence are disabled by
default. If you know what you are doing, enable the bindings
for python. To test the bindings, ensure _libcgroup.so
is copied in the same directory as libcgroup.py. There after
libcgroup API's can be invoked from python.

Please use --enable-bindings after installing swig to compile
with the changes

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
configure.in
include/libcgroup/config.h
include/libcgroup/error.h
include/libcgroup/groups.h
include/libcgroup/init.h
include/libcgroup/iterators.h
include/libcgroup/tasks.h
src/Makefile.am
src/bindings/Makefile.am [new file with mode: 0644]
src/bindings/libcgroup.p [new file with mode: 0644]
src/bindings/tests/stat.py [new file with mode: 0644]