#ifndef _INCLUDE_EXINT_HANDLER_ #define _INCLUDE_EXINT_HANDLER_ #include #include "comframe.h" #define ET_HDL_FLAG_DEFAULT 0 #define ET_HDL_FLAG_DISABLED 1 #define ET_HDL_FLAG_ASYNC 2 #define ET_HDL_FLAG_NOVERIFY 4 #ifdef __cplusplus extern "C" { #endif struct EtHandlerDef { uint16_t hd_type; uint16_t hd_flags; void (*hd_handler)(struct EtHandlerDef *handler, ComFrame* frame); }; #ifdef __cplusplus } #endif #endif