added CURL_READFUNC_ABORT
authorDaniel Stenberg <daniel@haxx.se>
Mon, 21 Jun 2004 14:04:36 +0000 (14:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 21 Jun 2004 14:04:36 +0000 (14:04 +0000)
include/curl/curl.h

index ef71298..1407e88 100644 (file)
@@ -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,