summaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-10 16:01:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-10 16:01:47 +0000
commit7225b1400236c786add1516e38676d65a7bbd327 (patch)
tree5ad3dd30c79f886bc28cabe8e7f01e0613589fb9 /lib/sendf.h
parent85838a8966692831cf7d3744b34f5a04260366fd (diff)
downloadcurl-7225b1400236c786add1516e38676d65a7bbd327.tar.gz
curl_socket_t mistakes cleanup
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 73cd215ae..4c001ec13 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -23,7 +23,8 @@
* $Id$
***************************************************************************/
-CURLcode Curl_sendf(int fd, struct connectdata *, const char *fmt, ...);
+CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
+ const char *fmt, ...);
void Curl_infof(struct SessionHandle *, const char *fmt, ...);
void Curl_failf(struct SessionHandle *, const char *fmt, ...);
@@ -42,7 +43,8 @@ int Curl_read(struct connectdata *conn, curl_socket_t sockfd,
char *buf, size_t buffersize,
ssize_t *n);
/* internal write-function, does plain socket, SSL and krb4 */
-CURLcode Curl_write(struct connectdata *conn, int sockfd,
+CURLcode Curl_write(struct connectdata *conn,
+ curl_socket_t sockfd,
void *mem, size_t len,
ssize_t *written);