summaryrefslogtreecommitdiff
path: root/include/net/tftp.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-09-07 08:56:23 -0400
committerTom Rini <trini@konsulko.com>2015-09-07 08:56:23 -0400
commitcdc7732f3737f2bb97b77eb3d7c9da344bb73612 (patch)
tree5d3a3567a1a58335ed2f38d8228cf24483f79b14 /include/net/tftp.h
parenta6003397f7b74f7af6c21954073e046de08f43c9 (diff)
parent49b4c5c700077e387fef61a7225f92d190ee0c45 (diff)
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'include/net/tftp.h')
-rw-r--r--include/net/tftp.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/net/tftp.h b/include/net/tftp.h
new file mode 100644
index 0000000000..c411c9b2e6
--- /dev/null
+++ b/include/net/tftp.h
@@ -0,0 +1,30 @@
+/*
+ * LiMon - BOOTP/TFTP.
+ *
+ * Copyright 1994, 1995, 2000 Neil Russell.
+ * Copyright 2011 Comelit Group SpA
+ * Luca Ceresoli <luca.ceresoli@comelit.it>
+ * (See License)
+ */
+
+#ifndef __TFTP_H__
+#define __TFTP_H__
+
+/**********************************************************************/
+/*
+ * Global functions and variables.
+ */
+
+/* tftp.c */
+void tftp_start(enum proto_t protocol); /* Begin TFTP get/put */
+
+#ifdef CONFIG_CMD_TFTPSRV
+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__ */