View source code
Display the source code in etc/c/curl.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Struct etc.c.curl.curl_httppost

struct curl_httppost ;

Fields

NameTypeDescription
buffer char*pointer to allocated buffer contents
bufferlength longlength of buffer field
contentheader curl_slist*list of extra headers for this form
contents char*pointer to allocated data contents
contentslength longlength of contents field
contenttype char*Content-Type
flags longas defined below
more curl_httppost*if one field name has more than one file, this link should link to following files
name char*pointer to allocated name
namelength longlength of name length
next curl_httppost*next entry in the list
showfilename char*The file name to show. If not set, the actual file name will be used (if this is a file part)
userp void*custom pointer used for HTTPPOST_CALLBACK posts

Authors

License