blob: d0ffb1f45dd7a66dc2376e2fe35a09d31c08b2da [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
2 * LiMon - BOOTP/TFTP.
3 *
4 * Copyright 1994, 1995, 2000 Neil Russell.
5 * Copyright 2011 Comelit Group SpA
6 * Luca Ceresoli <luca.ceresoli@comelit.it>
7 * (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 */
19int TftpStart(enum proto_t protocol); /* Begin TFTP get/put */
20
21#ifdef CONFIG_CMD_TFTPSRV
22extern void TftpStartServer(void); /* Wait for incoming TFTP put */
23#endif
24
25extern ulong TftpRRQTimeoutMSecs;
26extern int TftpRRQTimeoutCountMax;
27
28/**********************************************************************/
29
30#endif /* __TFTP_H__ */