blob: 18e4c9c25d72debace773afa62e873ba372c62fd [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
wdenk592ec2c2000-12-28 11:02:30 +000025/**********************************************************************/
26
27#endif /* __TFTP_H__ */