aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-17 13:23:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-17 13:23:01 +0000
commitae0a6835bdd6c54e56ce16b7a2727ada3adcccaf (patch)
treeb65aef21c630e63714f39045789628c5c7d31f41
parentf2f11be8ba14006fb47e48eaff5f471b3a737b40 (diff)
Transfer is now Curl_Tranfer() and transfer.h is used instead of highlevel.h
and download.h
-rw-r--r--lib/dict.c8
-rw-r--r--lib/easy.c2
-rw-r--r--lib/ftp.c6
-rw-r--r--lib/http.c8
-rw-r--r--lib/telnet.c2
-rw-r--r--lib/url.c4
6 files changed, 15 insertions, 15 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 2e3dd7ab0..6c4a60857 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -71,7 +71,7 @@
#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "progress.h"
@@ -154,7 +154,7 @@ CURLcode Curl_dict(struct connectdata *conn)
word
);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
@@ -202,7 +202,7 @@ CURLcode Curl_dict(struct connectdata *conn)
word
);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL); /* no upload */
if(result)
@@ -226,7 +226,7 @@ CURLcode Curl_dict(struct connectdata *conn)
"QUIT\n",
ppath);
- result = Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, FALSE, bytecount,
-1, NULL);
if(result)
diff --git a/lib/easy.c b/lib/easy.c
index 0daecc6d5..e04c2d03a 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -72,7 +72,7 @@
#include "urldata.h"
#include <curl/curl.h>
-#include "highlevel.h"
+#include "transfer.h"
#include <curl/types.h>
#define _MPRINTF_REPLACE /* use our functions only */
diff --git a/lib/ftp.c b/lib/ftp.c
index 864dca6c1..464e17f8b 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -67,7 +67,7 @@
#include "if2ip.h"
#include "hostip.h"
#include "progress.h"
-#include "download.h"
+#include "transfer.h"
#include "escape.h"
#include "http.h" /* for HTTP proxy tunnel stuff */
#include "ftp.h"
@@ -1110,7 +1110,7 @@ CURLcode _ftp(struct connectdata *conn)
Curl_pgrsSetUploadSize(data, data->infilesize);
- result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
+ result = Curl_Transfer(conn, -1, -1, FALSE, NULL, /* no download */
data->secondarysocket, bytecountp);
if(result)
return result;
@@ -1339,7 +1339,7 @@ CURLcode _ftp(struct connectdata *conn)
infof(data, "Getting file with size: %d\n", size);
/* FTP download: */
- result=Transfer(conn, data->secondarysocket, size, FALSE,
+ result=Curl_Transfer(conn, data->secondarysocket, size, FALSE,
bytecountp,
-1, NULL); /* no upload here */
if(result)
diff --git a/lib/http.c b/lib/http.c
index aa96ed0af..c80fda551 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -87,7 +87,7 @@
#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "formdata.h"
#include "progress.h"
@@ -616,7 +616,7 @@ CURLcode Curl_http(struct connectdata *conn)
data->request_size =
add_buffer_send(data->firstsocket, conn, req_buffer);
- result = Transfer(conn, data->firstsocket, -1, TRUE,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE,
&http->readbytecount,
data->firstsocket,
&http->writebytecount);
@@ -644,7 +644,7 @@ CURLcode Curl_http(struct connectdata *conn)
add_buffer_send(data->firstsocket, conn, req_buffer);
/* prepare for transfer */
- result = Transfer(conn, data->firstsocket, -1, TRUE,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE,
&http->readbytecount,
data->firstsocket,
&http->writebytecount);
@@ -690,7 +690,7 @@ CURLcode Curl_http(struct connectdata *conn)
add_buffer_send(data->firstsocket, conn, req_buffer);
/* HTTP GET/HEAD download: */
- result = Transfer(conn, data->firstsocket, -1, TRUE, bytecount,
+ result = Curl_Transfer(conn, data->firstsocket, -1, TRUE, bytecount,
-1, NULL); /* nothing to upload */
}
if(result)
diff --git a/lib/telnet.c b/lib/telnet.c
index 43cbb637b..462e5956b 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -71,7 +71,7 @@
#include "urldata.h"
#include <curl/curl.h>
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "formdata.h"
#include "progress.h"
diff --git a/lib/url.c b/lib/url.c
index 3bd3c6ce2..ab50613a3 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -85,7 +85,7 @@
#include "ssluse.h"
#include "hostip.h"
#include "if2ip.h"
-#include "download.h"
+#include "transfer.h"
#include "sendf.h"
#include "getpass.h"
#include "progress.h"
@@ -1063,7 +1063,7 @@ static CURLcode _connect(CURL *curl, CURLconnect **in_connect)
conn->curl_do = file;
/* no done() function */
- result = Transfer(conn, -1, -1, FALSE, NULL, /* no download */
+ result = Curl_Transfer(conn, -1, -1, FALSE, NULL, /* no download */
-1, NULL); /* no upload */
return CURLE_OK;