X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Ftftp.h;h=c411c9b2e653190d6e1ba359b3044b2847d6db19;hb=978c9a624625b91210aa4132afba70087a442d1c;hp=e3dfb2628aa51bf140d2df6b2e32995aa53fce01;hpb=592ec2c500a36765b04e679c21413a9eccfe1e69;p=karo-tx-uboot.git diff --git a/net/tftp.h b/net/tftp.h index e3dfb2628a..c411c9b2e6 100644 --- a/net/tftp.h +++ b/net/tftp.h @@ -2,6 +2,8 @@ * LiMon - BOOTP/TFTP. * * Copyright 1994, 1995, 2000 Neil Russell. + * Copyright 2011 Comelit Group SpA + * Luca Ceresoli * (See License) */ @@ -14,7 +16,14 @@ */ /* tftp.c */ -extern void TftpStart (void); /* Begin TFTP get */ +void tftp_start(enum proto_t protocol); /* Begin TFTP get/put */ + +#ifdef CONFIG_CMD_TFTPSRV +void tftp_start_server(void); /* Wait for incoming TFTP put */ +#endif + +extern ulong tftp_timeout_ms; +extern int tftp_timeout_count_max; /**********************************************************************/