net: Move debug trace to point of action
[pandora-u-boot.git] / net / tftp.h
index e3dfb26..18e4c9c 100644 (file)
@@ -2,6 +2,8 @@
  *     LiMon - BOOTP/TFTP.
  *
  *     Copyright 1994, 1995, 2000 Neil Russell.
+ *     Copyright 2011 Comelit Group SpA
+ *                    Luca Ceresoli <luca.ceresoli@comelit.it>
  *     (See License)
  */
 
  */
 
 /* tftp.c */
-extern void    TftpStart (void);       /* Begin TFTP get */
+void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */
+
+#ifdef CONFIG_CMD_TFTPSRV
+extern void TftpStartServer(void);     /* Wait for incoming TFTP put */
+#endif
 
 /**********************************************************************/