git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: Move debug trace to point of action
[pandora-u-boot.git]
/
net
/
tftp.h
diff --git
a/net/tftp.h
b/net/tftp.h
index
e3dfb26
..
18e4c9c
100644
(file)
--- a/
net/tftp.h
+++ b/
net/tftp.h
@@
-2,6
+2,8
@@
* LiMon - BOOTP/TFTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
* LiMon - BOOTP/TFTP.
*
* Copyright 1994, 1995, 2000 Neil Russell.
+ * Copyright 2011 Comelit Group SpA
+ * Luca Ceresoli <luca.ceresoli@comelit.it>
* (See License)
*/
* (See License)
*/
@@
-14,7
+16,11
@@
*/
/* tftp.c */
*/
/* 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
/**********************************************************************/
/**********************************************************************/