C based library based on libjnx