summaryrefslogtreecommitdiff
path: root/lib/formdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formdata.h')
-rw-r--r--lib/formdata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/formdata.h b/lib/formdata.h
index 1657f4122..e56f85822 100644
--- a/lib/formdata.h
+++ b/lib/formdata.h
@@ -45,6 +45,10 @@ typedef struct FormInfo {
char *contenttype;
long flags;
+ /* CMC: Added support for buffer uploads */
+ char *buffer; /* pointer to existing buffer used for file upload */
+ long bufferlength;
+
char *showfilename; /* The file name to show. If not set, the actual
file name will be used */
struct curl_slist* contentheader;