aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2014-12-09 15:43:51 +0100
committerPatrick Monnerat <pm@datasphere.ch>2014-12-09 15:43:51 +0100
commit6ea4ee94f96cda494c493fadd9d445d2fd202834 (patch)
treeb6bf439715760316f688cf146457b1186a9a2528 /lib/sendf.h
parente63d18fbd195e08d538107db903fccf63a4df7fd (diff)
Curl_client_write() & al.: chop long data, convert data only once.
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 23c720661..86f06cf9b 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -51,6 +51,8 @@ void Curl_failf(struct SessionHandle *, const char *fmt, ...);
#define CLIENTWRITE_HEADER (1<<1)
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
+CURLcode Curl_client_chop_write(struct connectdata *conn, int type, char *ptr,
+ size_t len) WARN_UNUSED_RESULT;
CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
size_t len) WARN_UNUSED_RESULT;