summaryrefslogtreecommitdiff
path: root/ftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftp.h')
-rw-r--r--ftp.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/ftp.h b/ftp.h
index 3a2510fbc..54eefe8cd 100644
--- a/ftp.h
+++ b/ftp.h
@@ -13,14 +13,16 @@ const char * ftpStrerror(int ftpErrno);
#define FTPERR_PASSIVE_ERROR -8
#define FTPERR_FAILED_DATA_CONNECT -9
#define FTPERR_FILE_NOT_FOUND -10
+#define FTPERR_NIC_ABORT_IN_PROGRESS -11
#define FTPERR_UNKNOWN -100
-int httpOpen(urlinfo *u);
+int httpOpen(urlinfo *u);
+int ftpOpen(urlinfo *u);
-int ftpOpen(urlinfo *u);
-int ftpGetFile(int sock, char * remotename, FD_t dest);
-int ftpGetFileDesc(int sock, char * remotename);
-int ftpGetFileDone(int sock);
-void ftpClose(int sock);
+int httpGetFile(FD_t sfd, FD_t tfd);
+int ftpGetFile(FD_t sfd, FD_t tfd);
+int ftpGetFileDesc(FD_t);
+int ftpAbort(FD_t fd);
+int ftpClose(FD_t fd);
#endif