generate c stubs and maintain function signatures from header files