aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-03 08:01:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-03 08:01:38 +0000
commit3d4cd8c9aaedef535e42185ae6e6757d902b727d (patch)
tree90543a326c5c165e234032853c7c49d70c620498 /include
parent420259993e2b2dcced5e7517263b730337afb532 (diff)
added new curl_formadd() stuff
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 71f4a4775..7f6b073cb 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -512,13 +512,23 @@ typedef enum {
CFINIT(COPYCONTENTS),
CFINIT(PTRCONTENTS),
CFINIT(CONTENTSLENGTH),
+ CFINIT(FILECONTENT),
+ CFINIT(ARRAY),
+ CFINIT(ARRAY_START), /* below are the options allowed within a array */
CFINIT(FILE),
CFINIT(CONTENTTYPE),
CFINIT(END),
+ CFINIT(ARRAY_END), /* up are the options allowed within a array */
CURLFORM_LASTENTRY /* the last unusued */
} CURLformoption;
+/* structure to be used as parameter for CURLFORM_ARRAY */
+struct curl_forms {
+ CURLformoption option;
+ const char *value;
+};
+
/* new external form function */
int curl_formadd(struct HttpPost **httppost,
struct HttpPost **last_post,
@@ -548,8 +558,8 @@ CURLcode curl_global_init(long flags);
void curl_global_cleanup(void);
/* This is the version number */
-#define LIBCURL_VERSION "7.9"
-#define LIBCURL_VERSION_NUM 0x070900
+#define LIBCURL_VERSION "7.9.1-pre1"
+#define LIBCURL_VERSION_NUM 0x070901
/* linked-list structure for the CURLOPT_QUOTE option (and other) */
struct curl_slist {