template c src & header file that supplies the c code to wrap