11 #define TFTP_ERROR_NOT_DEFINED 0 12 #define TFTP_ERROR_FILE_NOT_FOUND 1 13 #define TFTP_ERROR_ACCESS_VIOLATION 2 14 #define TFTP_ERROR_DISK_FULL 3 15 #define TFTP_ERROR_ILLEGAL_OP 4 16 #define TFTP_ERROR_UNKNOWN_TRANSFER_ID 5 17 #define TFTP_ERROR_FILE_EXISTS 6 18 #define TFTP_ERROR_NO_SUCH_USER 7 21 #define TFTP_MAXNAM 64 22 #define TFTP_MAXDATA 512 23 #define TFTP_MAXRETRIES 3 24 #define TFTP_WAIT 5000 27 #define TFTP_NON_VERBOSE 0 28 #define TFTP_VERBOSE 1
unsigned char byte
符号なし8ビット値(unsigned char)
int32 status
ステータスを意味する返り値の型(OK/SYSERR)
char tf_filemode[TFTP_MAXNAM+10]
char tf_data[TFTP_MAXDATA]
char tf_ermsg[TFTP_MAXDATA]
unsigned short uint16
符号なし16ビット整数(unsigned short)
status tftpget_mb(uint32 serverip, const char *filename, char **rcv_bufs, uint32 *rcv_buf_sizes, uint32 rcv_buf_count, byte verbose)
unsigned int uint32
符号なし32ビット整数(unsigned int)
status tftpget(uint32 serverip, const char *filename, char *rcv_buf, uint32 rcv_buf_size, byte verbose)