Add few c functions to library