commit | f59675a5e2a3fe5ca68547978689613b44f84eff | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 24 18:00:05 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Wed Oct 26 21:34:44 2011 +0200 |
tree | 62ec42cc1c56ab96622a8487708fb2e16e0e4eb8 | |
parent | bd8a0e09a168a590c93e5cc2f1c365f145b7f0fd [diff] [blame] |
net: tftpput: Support selecting get/put for tftp TftpStart should support starting either a get or a put. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/net/tftp.h b/net/tftp.h index 3abdf7b..c51aa25 100644 --- a/net/tftp.h +++ b/net/tftp.h
@@ -16,7 +16,7 @@ */ /* 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 */