summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/ftp/ftp.h
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-05-23 19:56:22 +0200
committerDaniel Campora <daniel@wipy.io>2015-05-24 11:44:06 +0200
commit9f8c5456befbf33cf8e02de99b6b9f5a417f006a (patch)
treedc1339e90c801a2361dd19b0a3b4430a930a1ae5 /cc3200/ftp/ftp.h
parent0d31bbc7fa3bdf10a14d92bb010a5016dc6101af (diff)
downloadmicropython-9f8c5456befbf33cf8e02de99b6b9f5a417f006a.tar.gz
micropython-9f8c5456befbf33cf8e02de99b6b9f5a417f006a.zip
cc3200: Reset the servers and close user sockets on WLAN disconection.
This is needed to avoid half-open connections.
Diffstat (limited to 'cc3200/ftp/ftp.h')
-rw-r--r--cc3200/ftp/ftp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc3200/ftp/ftp.h b/cc3200/ftp/ftp.h
index 14f07e0df7..13b044dcfa 100644
--- a/cc3200/ftp/ftp.h
+++ b/cc3200/ftp/ftp.h
@@ -34,5 +34,6 @@ extern void ftp_init (void);
extern void ftp_run (void);
extern void ftp_enable (void);
extern void ftp_disable (void);
+extern void ftp_reset (void);
#endif /* FTP_H_ */