]> git.proxmox.com Git - mirror_lxc.git/commit - src/lua-lxc/core.c
Update Lua API
authorDwight Engen <dwight.engen@oracle.com>
Mon, 11 Feb 2013 22:31:39 +0000 (17:31 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 11 Feb 2013 22:37:10 +0000 (17:37 -0500)
commit83c98d825e4e644b18276dde5deaa555ee36b629
treecfcaba5ab1860e797f4b1defeedb04891984d0ca
parent13f5be6276100761eaeddd77b7b55fbec6b0c9ab
Update Lua API

Add [gs]et_config_path from API to Lua binding. Add additional optional
parameter to container_new(). Add tests for these new Lua API bindings.
Commit 2a59a681 changed the meaning of lxc_path_get() in the binding,
causing lua script breakage. Reinstate original behavior of
lxc_path_get() and rename it to lxc_default_config_path_get() to make
its intent clearer.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lua-lxc/core.c
src/lua-lxc/lxc.lua
src/lua-lxc/test/apitest.lua
src/lxc/lxccontainer.c
src/lxc/lxccontainer.h