aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-22 12:55:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-22 12:55:55 +0000
commitce1cb29d20e75974ce07d916845d4267f7be4110 (patch)
tree126a14628c5b6b54f8c182c30541a8a183f34ceb
parent526eca191a0a4ca0fd520ba06c60d1a014a3d017 (diff)
client_write() proto and defines added
-rw-r--r--lib/sendf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 0ff305ec2..212a5e8cf 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -53,7 +53,12 @@ struct send_buffer {
};
typedef struct send_buffer send_buffer;
+#define CLIENTWRITE_BODY 1
+#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, ...);