From 025fa762f644c9c1438c6669c4fe3e1800a112b5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Apr 2001 06:49:32 +0000 Subject: Added new CURLOPT_HEADERFUNCTION callback for writing headers only --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/urldata.h') 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; -- cgit v1.2.3