generate C function prototypes from C source