mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added CURL_READFUNC_ABORT
This commit is contained in:
parent
67341c4cbe
commit
8d2120566e
@ -143,6 +143,9 @@ typedef size_t (*curl_write_callback)(char *buffer,
|
|||||||
size_t nitems,
|
size_t nitems,
|
||||||
void *outstream);
|
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,
|
typedef size_t (*curl_read_callback)(char *buffer,
|
||||||
size_t size,
|
size_t size,
|
||||||
size_t nitems,
|
size_t nitems,
|
||||||
|
Loading…
Reference in New Issue
Block a user