C version of OpenPixi