LuaFAR C-interface

From LuaFAR 3