add prototype of clib calling