linux database using c api