mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
Added new CURLOPT_HEADERFUNCTION callback for writing headers only
This commit is contained in:
parent
ac510ab6a4
commit
025fa762f6
3 changed files with 15 additions and 1 deletions
|
|
@ -430,6 +430,10 @@ typedef enum {
|
|||
phase. [Only works on unix-style/SIGALRM operating systems] */
|
||||
CINIT(CONNECTTIMEOUT, LONG, 78),
|
||||
|
||||
/* Function that will be called to store headers (instead of fwrite). The
|
||||
* parameters will use fwrite() syntax, make sure to follow them. */
|
||||
CINIT(HEADERFUNCTION, FUNCTIONPOINT, 79),
|
||||
|
||||
CURLOPT_LASTENTRY /* the last unusued */
|
||||
} CURLoption;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue