aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-10-15 18:32:01 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-10-15 18:32:01 +0000
commita005243908803662d4a05427bc1061db42f4d057 (patch)
treeca68d875dbccc05d8f97c9e3451b9c22977d1350 /include
parent001a2d9b67f3bf685c5a2df6495b999cc3966acc (diff)
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 5bd6b3feb..6a7a71963 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -659,7 +659,7 @@ typedef enum {
*/
CINIT(INFILESIZE, LONG, 14),
- /* POST input fields. */
+ /* POST static input fields. */
CINIT(POSTFIELDS, OBJECTPOINT, 15),
/* Set the referer page (needed by some CGIs) */
@@ -1156,6 +1156,9 @@ typedef enum {
CINIT(OPENSOCKETFUNCTION, FUNCTIONPOINT, 163),
CINIT(OPENSOCKETDATA, OBJECTPOINT, 164),
+ /* POST volatile input fields. */
+ CINIT(COPYPOSTFIELDS, OBJECTPOINT, 165),
+
CURLOPT_LASTENTRY /* the last unused */
} CURLoption;