aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-03 14:50:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-03 14:50:29 +0000
commitd9a1a59f2242711e287df3b93160e0a2494f23e1 (patch)
tree0fb96aa9c70b175aa2a0ee259cf0ed027937a149 /include
parent0b898b5a8a1998a529bcab8808540a741dcc7ef7 (diff)
CURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest
sized buffer that may be passed to a write callback
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index cf96c326d..2d52fb1eb 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -86,6 +86,8 @@ typedef int (*curl_progress_callback)(void *clientp,
double ultotal,
double ulnow);
+#define CURL_MAX_WRITE_SIZE 20480
+
typedef size_t (*curl_write_callback)(char *buffer,
size_t size,
size_t nitems,