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 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 */
Simon Glass58f317d2011-10-24 18:00:05 +000019void TftpStart(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 Hershberger13dfe942012-05-15 08:59:12 +000022extern void TftpStartServer(void); /* Wait for incoming TFTP put */
Luca Ceresolie59e3562011-05-17 00:03:39 +000023#endif
24
Kim Phillips06370592012-10-29 13:34:33 +000025extern ulong TftpRRQTimeoutMSecs;
26extern int TftpRRQTimeoutCountMax;
27
wdenk592ec2c2000-12-28 11:02:30 +000028/**********************************************************************/
29
30#endif /* __TFTP_H__ */