blob: 2b686e3ca6a0d52778fedb66706f9882c19855ac [file] [log] [blame]
wdenk592ec2c2000-12-28 11:02:30 +00001/*
2 * LiMon - BOOTP/TFTP.
3 *
4 * Copyright 1994, 1995, 2000 Neil Russell.
Luca Ceresolib640ed32011-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 */
Simon Glassf59675a2011-10-24 18:00:05 +000019void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */
wdenk592ec2c2000-12-28 11:02:30 +000020
Luca Ceresolib640ed32011-05-17 00:03:39 +000021#ifdef CONFIG_CMD_TFTPSRV
Joe Hershberger3a29e5a2012-05-15 08:59:12 +000022extern void TftpStartServer(void); /* Wait for incoming TFTP put */
Luca Ceresolib640ed32011-05-17 00:03:39 +000023#endif
24
Kim Phillips40c2c032012-10-29 13:34:33 +000025extern ulong TftpRRQTimeoutMSecs;
26extern int TftpRRQTimeoutCountMax;
27
wdenk592ec2c2000-12-28 11:02:30 +000028/**********************************************************************/
29
30#endif /* __TFTP_H__ */