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 /include | |
| parent | ac510ab6a4bd4dbce0db069d73952ac01ddc2647 (diff) | |
Added new CURLOPT_HEADERFUNCTION callback for writing headers only
Diffstat (limited to 'include')
| -rw-r--r-- | include/curl/curl.h | 4 | 
1 files changed, 4 insertions, 0 deletions
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;  | 
