summaryrefslogtreecommitdiff
path: root/lib/formdata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-28 08:54:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-28 08:54:33 +0000
commit725bd1dddf24d4775ebcbe6414f19517b2cd2a6c (patch)
tree928cfbbeead85822e4f0dedf227fc95fb9da16bc /lib/formdata.h
parent98356298018447c2e013400d03e9fd42b37b8259 (diff)
downloadcurl-725bd1dddf24d4775ebcbe6414f19517b2cd2a6c.tar.gz
Georg Huettenegger's fixes and improvements to curl_formadd()
Diffstat (limited to 'lib/formdata.h')
-rw-r--r--lib/formdata.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/formdata.h b/lib/formdata.h
index 8623c89e5..bca1f9fcc 100644
--- a/lib/formdata.h
+++ b/lib/formdata.h
@@ -36,6 +36,17 @@ struct Form {
been sent in a previous invoke */
};
+/* used by FormAdd for temporary storage */
+typedef struct FormInfo {
+ char *name;
+ long namelength;
+ char *value;
+ long contentslength;
+ char *contenttype;
+ long flags;
+ struct FormInfo *more;
+} FormInfo;
+
int Curl_FormInit(struct Form *form, struct FormData *formdata );
struct FormData *Curl_getFormData(struct HttpPost *post,