Merge branch 'next'
[u-boot/qq2440-u-boot.git] / net / tftp.h
blob2b686e3ca6a0d52778fedb66706f9882c19855ac
1 /*
2 * LiMon - BOOTP/TFTP.
4 * Copyright 1994, 1995, 2000 Neil Russell.
5 * Copyright 2011 Comelit Group SpA
6 * Luca Ceresoli <luca.ceresoli@comelit.it>
7 * (See License)
8 */
10 #ifndef __TFTP_H__
11 #define __TFTP_H__
13 /**********************************************************************/
15 * Global functions and variables.
18 /* tftp.c */
19 void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */
21 #ifdef CONFIG_CMD_TFTPSRV
22 extern void TftpStartServer(void); /* Wait for incoming TFTP put */
23 #endif
25 extern ulong TftpRRQTimeoutMSecs;
26 extern int TftpRRQTimeoutCountMax;
28 /**********************************************************************/
30 #endif /* __TFTP_H__ */