diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-03-11 15:18:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-03-11 15:18:59 +0000 |
commit | 9f374c20507940862601c3dbad3250a44541a85e (patch) | |
tree | a9b9d9c07fdba9dbb01592b959b8e61c4418486d /lib/formdata.h | |
parent | 579985242455741d34df17eea94174772bbe4e32 (diff) | |
download | curl-9f374c20507940862601c3dbad3250a44541a85e.tar.gz |
Added support for CURLFORM_FILENAME to set the filename field of a file
part.
Diffstat (limited to 'lib/formdata.h')
-rw-r--r-- | lib/formdata.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/formdata.h b/lib/formdata.h index 40f8c9472..7ab210064 100644 --- a/lib/formdata.h +++ b/lib/formdata.h @@ -8,7 +8,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2002, Daniel Stenberg, <daniel@haxx.se>, et al. * * In order to be useful for every potential user, curl and libcurl are * dual-licensed under the MPL and the MIT/X-derivate licenses. @@ -44,6 +44,9 @@ typedef struct FormInfo { long contentslength; char *contenttype; long flags; + + char *showfilename; /* The file name to show. If not set, the actual + file name will be used */ struct curl_slist* contentheader; struct FormInfo *more; } FormInfo; |