Add some api of c