projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67341c4
)
added CURL_READFUNC_ABORT
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Jun 2004 14:04:36 +0000
(14:04 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Jun 2004 14:04:36 +0000
(14:04 +0000)
include/curl/curl.h
patch
|
blob
|
history
diff --git
a/include/curl/curl.h
b/include/curl/curl.h
index
ef71298
..
1407e88
100644
(file)
--- 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,