add c interface example