tftps.h

来自「opentcp_mcf5282原代码」· C头文件 代码 · 共 42 行

H
42
字号
/***************************************************************************************
File:			tftps.h

Date:			7.10.2002

Version:		0.1

Author:			Jari Lahti (jari@violasystems.com

Description:	Funnction API prototypes and constants of TFTPS server

Version Info:	7.10.2002 - First version (Jari Lahti)

***************************************************************************************/

#ifndef __INCLUDE_OPENTCP_TFTPS_H__
#define __INCLUDE_OPENTCP_TFTPS_H__

#include "datatypes.h"

/* User defined	*/

#define TFTPS_SERVERPORT		69
#define TFTPS_FILENAME_MAXLEN	20

#define TFTPS_DEF_RETRIES		4
#define TFTPS_TIMEOUT			20		/* Secs	*/


/* Prototypes	*/

INT8 init_tftps(void);
void tftps_run(void);
INT32 tftps_eventlistener(INT8, UINT8, UINT32, UINT16, UINT16, UINT16);
void TFTP_SendAck(void);
void TFTP_SendError(UINT8);
void TFTP_DeleteSocket(void);

#endif

/* EOF	*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?