1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *	LiMon - BOOTP/TFTP.
4  *
5  *	Copyright 1994, 1995, 2000 Neil Russell.
6  *	Copyright 2011 Comelit Group SpA
7  *	               Luca Ceresoli <luca.ceresoli@comelit.it>
8  */
9 
10 #ifndef __TFTP_H__
11 #define __TFTP_H__
12 
13 /**********************************************************************/
14 /*
15  *	Global functions and variables.
16  */
17 
18 /* tftp.c */
19 void tftp_start(enum proto_t protocol);	/* Begin TFTP get/put */
20 
21 #ifdef CONFIG_CMD_TFTPSRV
22 void tftp_start_server(void);	/* Wait for incoming TFTP put */
23 #endif
24 
25 extern ulong tftp_timeout_ms;
26 extern int tftp_timeout_count_max;
27 
28 /**********************************************************************/
29 
30 #endif /* __TFTP_H__ */
31