aboutsummaryrefslogtreecommitdiff
path: root/net/tftp.h
diff options
context:
space:
mode:
authorLuca Ceresoli2011-05-17 00:03:39 +0000
committerWolfgang Denk2011-05-19 21:38:26 +0200
commite59e35620af0d57de75cddb9ec3f19449b998868 (patch)
tree5194c71ec38881b5b9a02927d61eb82288fc226c /net/tftp.h
parente3fb0abe2befb405428b23d6c0da4682a347b4f7 (diff)
TFTP: net/tftp.c: add server mode receive
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'net/tftp.h')
-rw-r--r--net/tftp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tftp.h b/net/tftp.h
index e3dfb2628aa..3abdf7bc267 100644
--- a/net/tftp.h
+++ b/net/tftp.h
@@ -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)
*/
@@ -16,6 +18,10 @@
/* tftp.c */
extern void TftpStart (void); /* Begin TFTP get */
+#ifdef CONFIG_CMD_TFTPSRV
+extern void TftpStartServer(void); /* Wait for incoming TFTP put */
+#endif
+
/**********************************************************************/
#endif /* __TFTP_H__ */