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 --- include/curl/curl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index 0a612c006..5dbd7b447 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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; -- cgit v1.2.3