diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-02-04 23:37:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-04-04 17:03:43 +0200 |
commit | ef6be35bae1fe501fecd9a2a21eb5d03ddff4243 (patch) | |
tree | bb92bc620a0d852ed0084c353780763ee3fa73a2 /include | |
parent | ac887eedbc17a0d78b11ff467858c76a5127d1f4 (diff) | |
download | curl-ef6be35bae1fe501fecd9a2a21eb5d03ddff4243.tar.gz |
CURLOPT_HEADEROPT: added
Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER
is actually used or not.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index efdd2e842..8384191f1 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -754,6 +754,10 @@ typedef enum { CURLFTPMETHOD_LAST /* not an option, never use */ } curl_ftpmethod; +/* bitmask defines for CURLOPT_HEADEROPT */ +#define CURLHEADER_UNIFIED 0 +#define CURLHEADER_SEPARATE (1<<0) + /* CURLPROTO_ defines are for the CURLOPT_*PROTOCOLS options */ #define CURLPROTO_HTTP (1<<0) #define CURLPROTO_HTTPS (1<<1) @@ -1586,6 +1590,9 @@ typedef enum { struct curl_slist kind */ CINIT(PROXYHEADER, OBJECTPOINT, 228), + /* Pass in a bitmask of "header options" */ + CINIT(HEADEROPT, LONG, 229), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |