#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