{{- define "cpartHeader" -}} // AUTO GENERATED DO NOT EDIT!!! #ifndef _PROTO_HEADER #define _PROTO_HEADER #include // MessageIDs {{- block "cenum" .CenumPCTOESP }} {{- end}} {{- block "cenum" .CenumESPTOPC }} {{- end}} // Payloads for single Messages {{- block "payloads" .PayloadStructs }} {{- end}} // Union for all the Payloads {{- block "union" .PayloadStructs }} {{- end}} // Base Message that can hold all Payloads {{- block "basemessage" . }} {{- end}} // Generic Send Function Prototype {{- block "send_function_prototype" .MessagesESPtoPC}} {{- end}} // Spezific Send Functions Prototype {{- block "send_functions_prototype" .MessagesESPtoPC}} {{- end}} // Prototypes for Message Recieve Handler to be set in user code {{- block "handler" .MessagesPCtoESP}} {{ end }} #endif {{- end -}}