From ef6be35bae1fe501fecd9a2a21eb5d03ddff4243 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 4 Feb 2014 23:37:29 +0100 Subject: CURLOPT_HEADEROPT: added Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER is actually used or not. --- include/curl/curl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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; -- cgit v1.2.3