commCPU_SUPV/code/general/inc/general_monitor.h
2025-04-30 16:24:29 +08:00

37 lines
679 B
C

#ifndef GENERAL_MONITOR_123_INCLUDED
#define GENERAL_MONITOR_123_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************/
//#include "glbtypes.h"
#define MONITOR_DIR_RECV 1
#define MONITOR_DIR_SEND 0
int monitor_init( int lisnPort, const char *fileName );
int monitor_release( void );
int monitor_send_log( const unsigned char *apduBuf, int apduLen, int direct, int channel );
int general_monitor_getChecksum( void );
int general_monitor_setChecksum( const char *fileName );
/************************************************************************/
#ifdef __cplusplus
}
#endif
#endif