Blame view

net/tftp.h 693 Bytes
592ec2c50   wdenk   Initial revision
1
2
3
4
  /*
   *	LiMon - BOOTP/TFTP.
   *
   *	Copyright 1994, 1995, 2000 Neil Russell.
e59e35620   Luca Ceresoli   TFTP: net/tftp.c:...
5
6
   *	Copyright 2011 Comelit Group SpA
   *	               Luca Ceresoli <luca.ceresoli@comelit.it>
592ec2c50   wdenk   Initial revision
7
8
9
10
11
12
13
14
15
16
17
18
   *	(See License)
   */
  
  #ifndef __TFTP_H__
  #define __TFTP_H__
  
  /**********************************************************************/
  /*
   *	Global functions and variables.
   */
  
  /* tftp.c */
58f317d18   Simon Glass   net: tftpput: Sup...
19
  void TftpStart(enum proto_t protocol);	/* Begin TFTP get/put */
592ec2c50   wdenk   Initial revision
20

e59e35620   Luca Ceresoli   TFTP: net/tftp.c:...
21
  #ifdef CONFIG_CMD_TFTPSRV
13dfe9437   Joe Hershberger   net: cosmetic: tf...
22
  extern void TftpStartServer(void);	/* Wait for incoming TFTP put */
e59e35620   Luca Ceresoli   TFTP: net/tftp.c:...
23
  #endif
063705908   Kim Phillips   net/: sparse fixes
24
25
  extern ulong TftpRRQTimeoutMSecs;
  extern int TftpRRQTimeoutCountMax;
592ec2c50   wdenk   Initial revision
26
27
28
  /**********************************************************************/
  
  #endif /* __TFTP_H__ */