C libs for HPG project