X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Ftftp.h;h=2b686e3ca6a0d52778fedb66706f9882c19855ac;hb=335143c76612a0ae26eef8abeda77641d4f63b50;hp=e3dfb2628aa51bf140d2df6b2e32995aa53fce01;hpb=592ec2c500a36765b04e679c21413a9eccfe1e69;p=oweals%2Fu-boot.git diff --git a/net/tftp.h b/net/tftp.h index e3dfb2628a..2b686e3ca6 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 TftpStart(enum proto_t protocol); /* Begin TFTP get/put */ + +#ifdef CONFIG_CMD_TFTPSRV +extern void TftpStartServer(void); /* Wait for incoming TFTP put */ +#endif + +extern ulong TftpRRQTimeoutMSecs; +extern int TftpRRQTimeoutCountMax; /**********************************************************************/