diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-04-10 06:49:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-04-10 06:49:32 +0000 |
commit | 025fa762f644c9c1438c6669c4fe3e1800a112b5 (patch) | |
tree | 80061af2fca5277f748f7b8ca4d0afc3042ede6e /lib/urldata.h | |
parent | ac510ab6a4bd4dbce0db069d73952ac01ddc2647 (diff) |
Added new CURLOPT_HEADERFUNCTION callback for writing headers only
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index aef8435c4..5c019946f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -485,6 +485,9 @@ struct UrlData { /* function that stores the output:*/ curl_write_callback fwrite; + /* optional function that stores the header output:*/ + curl_write_callback fwrite_header; + /* function that reads the input:*/ curl_read_callback fread; |