HPG C libs