X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Ftftp.h;h=c51aa253c4707fdb476442c843a9b85cbef2e461;hb=a4c15c01bfdf5a3345bda4da249ebde2fe742caa;hp=e3dfb2628aa51bf140d2df6b2e32995aa53fce01;hpb=592ec2c500a36765b04e679c21413a9eccfe1e69;p=u-boot diff --git a/net/tftp.h b/net/tftp.h index e3dfb2628a..c51aa253c4 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,11 @@ */ /* 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 /**********************************************************************/