summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-12-14 12:59:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-12-14 12:59:16 +0000
commit2eb355733ff3b9a6cde53f7c114f9ae77368a25f (patch)
tree6468003706832fce9e8ee9eb8ee12484d14d46f0 /include
parente66cdacb936976003a4c7a07515c24fe7af918b5 (diff)
downloadcurl-2eb355733ff3b9a6cde53f7c114f9ae77368a25f.tar.gz
Marcus Webster's newly added CURLFORM_CONTENTHEADER
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 4a89467d4..6ce918e53 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -62,6 +62,7 @@ struct HttpPost {
char *contents; /* pointer to allocated data contents */
long contentslength; /* length of contents field */
char *contenttype; /* Content-Type */
+ struct curl_slist* contentheader; /* list of extra headers for this form */
struct HttpPost *more; /* if one field name has more than one file, this
link should link to following files */
long flags; /* as defined below */
@@ -543,6 +544,7 @@ typedef enum {
CFINIT(ARRAY_START), /* below are the options allowed within a array */
CFINIT(FILE),
CFINIT(CONTENTTYPE),
+ CFINIT(CONTENTHEADER),
CFINIT(END),
CFINIT(ARRAY_END), /* up are the options allowed within a array */