#ifndef _INCLUDE_EXTERN_INTERFACE_DETAIL_H_ #define _INCLUDE_EXTERN_INTERFACE_DETAIL_H_ #include #include #include "external_interface.h" #include "exint/protocol.hpp" #define PrintFilePos() extern "C" { void exint_handle_pack(uint32_t type, size_t len, void* data); void* telemetry_host_com_thread(void* args); void* upper_host_com_thread(void* arg); } extern bool g_bKeepExintRuning; extern int g_iExternTimeDifference; extern uint8_t g_iAlarmCode[4]; extern std::unique_ptr g_upperhost_transport; extern std::unique_ptr g_telemetry_transport; void exint_setup(std::unique_ptr&& upperhost_transport, std::unique_ptr&& telemetry_transport, et_callback_t cb); #endif