move generated function prototype definitions to header file