]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/tftp.h
net: Allow drivers to return -ENOSYS with the write_hwaddr() method
[karo-tx-uboot.git] / net / tftp.h
index 3abdf7bc267f3b7219f4af7512eb13d077cfcbbf..c411c9b2e653190d6e1ba359b3044b2847d6db19 100644 (file)
  */
 
 /* tftp.c */
-extern void    TftpStart (void);       /* Begin TFTP get */
+void tftp_start(enum proto_t protocol);        /* Begin TFTP get/put */
 
 #ifdef CONFIG_CMD_TFTPSRV
-extern void    TftpStartServer(void);  /* Wait for incoming TFTP put */
+void tftp_start_server(void);  /* Wait for incoming TFTP put */
 #endif
 
+extern ulong tftp_timeout_ms;
+extern int tftp_timeout_count_max;
+
 /**********************************************************************/
 
 #endif /* __TFTP_H__ */