summaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-05 10:11:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-05 10:11:41 +0000
commit4031104404c6ceed5e57134125dcdb6cac51c564 (patch)
tree18bd035e58e42180cf416d0d94d4726cd44d9d7f /lib/sendf.h
parent9f9cac7402f9f134be6f6d5b7fb830e9946a83d8 (diff)
downloadcurl-4031104404c6ceed5e57134125dcdb6cac51c564.tar.gz
Internal symbols that aren't static are now prefixed with 'Curl_'
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 28e503da8..26771f38b 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -23,11 +23,15 @@
* $Id$
*****************************************************************************/
-size_t ftpsendf(int fd, struct connectdata *, char *fmt, ...);
-size_t sendf(int fd, struct UrlData *, char *fmt, ...);
-size_t ssend(int fd, struct connectdata *, void *fmt, size_t len);
-void infof(struct UrlData *, char *fmt, ...);
-void failf(struct UrlData *, char *fmt, ...);
+size_t Curl_sendf(int fd, struct UrlData *, char *fmt, ...);
+size_t Curl_ssend(int fd, struct connectdata *, void *fmt, size_t len);
+void Curl_infof(struct UrlData *, char *fmt, ...);
+void Curl_failf(struct UrlData *, char *fmt, ...);
+
+#define sendf Curl_sendf
+#define ssend Curl_ssend
+#define infof Curl_infof
+#define failf Curl_failf
struct send_buffer {
char *buffer;
@@ -40,12 +44,7 @@ typedef struct send_buffer send_buffer;
#define CLIENTWRITE_HEADER 2
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
-CURLcode client_write(struct UrlData *data, int type, char *ptr,
- size_t len);
-send_buffer *add_buffer_init(void);
-CURLcode add_buffer(send_buffer *in, void *inptr, size_t size);
-CURLcode add_bufferf(send_buffer *in, char *fmt, ...);
-size_t add_buffer_send(int sockfd, struct connectdata *conn, send_buffer *in);
-
+CURLcode Curl_client_write(struct UrlData *data, int type, char *ptr,
+ size_t len);
#endif