diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-21 14:04:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-21 14:04:36 +0000 |
commit | 8d2120566ec88eb01f1eb5b4e50115cff1e0b2e5 (patch) | |
tree | fbf4016ea0b7d838a3f39f719a7e6e450a22b6fd /include | |
parent | 67341c4cbe16f333877a366dcf1924e063c26013 (diff) | |
download | curl-8d2120566ec88eb01f1eb5b4e50115cff1e0b2e5.tar.gz |
added CURL_READFUNC_ABORT
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index ef7129856..1407e889d 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -143,6 +143,9 @@ typedef size_t (*curl_write_callback)(char *buffer, size_t nitems, void *outstream); +/* This is a brand new return code for the read callback that will signal + the caller to immediately abort the current transfer. */ +#define CURL_READFUNC_ABORT 0x10000000 typedef size_t (*curl_read_callback)(char *buffer, size_t size, size_t nitems, |