]> sjero.net Git - wget/blobdiff - src/ftp.h
[svn] Commit IPv6 support by Thomas Lussnig.
[wget] / src / ftp.h
index f988ca7fa4b0cee3da35a9c8bca4636373dca6e3..0da39a36ec6a5c03ea3c1565bbf0677eb0aa50da 100644 (file)
--- a/src/ftp.h
+++ b/src/ftp.h
@@ -36,7 +36,11 @@ enum stype
 uerr_t ftp_response PARAMS ((struct rbuf *, char **));
 uerr_t ftp_login PARAMS ((struct rbuf *, const char *, const char *));
 uerr_t ftp_port PARAMS ((struct rbuf *));
-uerr_t ftp_pasv PARAMS ((struct rbuf *, unsigned char *));
+uerr_t ftp_pasv PARAMS ((struct rbuf *, ip_address *, unsigned short *));
+#ifdef INET6
+uerr_t ftp_epsv PARAMS ((struct rbuf *, ip_address *, unsigned short *,
+                        char *));
+#endif
 uerr_t ftp_type PARAMS ((struct rbuf *, int));
 uerr_t ftp_cwd PARAMS ((struct rbuf *, const char *));
 uerr_t ftp_retr PARAMS ((struct rbuf *, const char *));