43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
|
|
|
|
#ifndef IEC103_CLN_FILE_S_123_INCLUDED
|
|
#define IEC103_CLN_FILE_S_123_INCLUDED
|
|
|
|
|
|
#include "glbtypes.h"
|
|
#include "interact.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
/************************************************************************/
|
|
#if defined (VXWORKS)
|
|
#define SRV_FILE_SEND_PATH "/tffs0/FILESEND/"
|
|
#else
|
|
#define SRV_FILE_SEND_PATH "./FILESEND/"
|
|
#endif
|
|
|
|
|
|
ST_RET iec103_cln_file_send_init( ST_VOID );
|
|
ST_RET iec103_cln_file_send_handle( ST_VOID );
|
|
|
|
ST_RET iec103_cln_file_recv_prot_request_filesec( DEV_DST_ADDR dstAddr, ST_UCHAR *asdu );
|
|
ST_RET iec103_cln_file_recv_prot_confirm_filesec( DEV_DST_ADDR dstAddr, ST_UCHAR *asdu );
|
|
ST_RET iec103_cln_file_recv_prot_confirm_endfile( int result );
|
|
|
|
ST_RET iec103_cln_file_recv_tool_file_ready( ST_INT linkIndex, DEV_DST_ADDR dstAddr, const ST_UCHAR *asdu );
|
|
ST_RET iec103_cln_file_recv_tool_file_end( ST_INT linkIndex, ST_UCHAR *asdu );
|
|
|
|
ST_RET iec103_cln_file_s_recv_canio_return_paraset( ST_INT linkIndex, ST_RET result, ST_UCHAR dstAddr );
|
|
|
|
ST_RET iec103_cln_file_recv_tftp_confirm_filedata( ST_INT dataPos, ST_INT fileLen );
|
|
|
|
/************************************************************************/
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|
|
|