blob: c411c9b2e653190d6e1ba359b3044b2847d6db19 [file] [log] [blame]
wdenk592ec2c2000-12-28 11:02:30 +00001/*
2 * LiMon - BOOTP/TFTP.
3 *
4 * Copyright 1994, 1995, 2000 Neil Russell.
Luca Ceresolie59e3562011-05-17 00:03:39 +00005 * Copyright 2011 Comelit Group SpA
6 * Luca Ceresoli <luca.ceresoli@comelit.it>
wdenk592ec2c2000-12-28 11:02:30 +00007 * (See License)
8 */
9
10#ifndef __TFTP_H__
11#define __TFTP_H__
12
13/**********************************************************************/
14/*
15 * Global functions and variables.
16 */
17
18/* tftp.c */
Joe Hershberger8885c5f2015-04-08 01:41:07 -050019void tftp_start(enum proto_t protocol); /* Begin TFTP get/put */
wdenk592ec2c2000-12-28 11:02:30 +000020
Luca Ceresolie59e3562011-05-17 00:03:39 +000021#ifdef CONFIG_CMD_TFTPSRV
Joe Hershberger8885c5f2015-04-08 01:41:07 -050022void tftp_start_server(void); /* Wait for incoming TFTP put */
Luca Ceresolie59e3562011-05-17 00:03:39 +000023#endif
24
Joe Hershberger8885c5f2015-04-08 01:41:07 -050025extern ulong tftp_timeout_ms;
26extern int tftp_timeout_count_max;
Kim Phillips06370592012-10-29 13:34:33 +000027
wdenk592ec2c2000-12-28 11:02:30 +000028/**********************************************************************/
29
30#endif /* __TFTP_H__ */