Go to the source code of this file.
Classes | |
| struct | FormData |
| struct | Form |
| struct | FormInfo |
Enumerations | |
| enum | formtype { FORM_DATA, FORM_CONTENT, FORM_FILE } |
Functions | |
| int | Curl_FormInit (struct Form *form, struct FormData *formdata) |
| CURLcode | Curl_getFormData (struct FormData **, struct curl_httppost *post, const char *custom_contenttype, curl_off_t *size) |
| size_t | Curl_FormReader (char *buffer, size_t size, size_t nitems, FILE *mydata) |
| char * | Curl_formpostheader (void *formp, size_t *len) |
| char * | Curl_FormBoundary (void) |
| void | Curl_formclean (struct FormData **) |
| CURLcode | Curl_formconvert (struct SessionHandle *, struct FormData *) |
| enum formtype |
| char* Curl_FormBoundary | ( | void | ) |
Definition at line 1669 of file formdata.c.
References BOUNDARY_LENGTH, malloc, and NULL.
Referenced by Curl_getFormData().
| void Curl_formclean | ( | struct FormData ** | ) |
Definition at line 885 of file formdata.c.
References free, FormData::line, FormData::next, and NULL.
Referenced by curl_formget(), Curl_getFormData(), Curl_http(), and Curl_http_done().
| CURLcode Curl_formconvert | ( | struct SessionHandle * | , | |
| struct FormData * | ||||
| ) |
Referenced by Curl_http().
Definition at line 1370 of file formdata.c.
References Form::data, Form::fp, NULL, and Form::sent.
Referenced by curl_formget(), and Curl_http().
| char* Curl_formpostheader | ( | void * | formp, | |
| size_t * | len | |||
| ) |
Definition at line 1464 of file formdata.c.
References Form::data, FormData::length, FormData::line, and FormData::next.
Referenced by Curl_http().
| size_t Curl_FormReader | ( | char * | buffer, | |
| size_t | size, | |||
| size_t | nitems, | |||
| FILE * | mydata | |||
| ) |
Definition at line 1407 of file formdata.c.
References Form::data, FORM_FILE, FormData::length, FormData::line, FormData::next, readfromfile(), Form::sent, and FormData::type.
Referenced by Curl_http().
| CURLcode Curl_getFormData | ( | struct FormData ** | , | |
| struct curl_httppost * | post, | |||
| const char * | custom_contenttype, | |||
| curl_off_t * | size | |||
| ) |
Definition at line 1081 of file formdata.c.
References AddFormData(), AddFormDataf(), curl_httppost::buffer, asio::buffer(), curl_httppost::bufferlength, checkprefix, curl_httppost::contentheader, curl_httppost::contents, curl_httppost::contentslength, curl_httppost::contenttype, Curl_FormBoundary(), Curl_formclean(), CURLE_OK, CURLE_OUT_OF_MEMORY, CURLE_READ_ERROR, curl_slist::data, curl_httppost::flags, FORM_CONTENT, FORM_DATA, FORM_FILE, fread(), free, HTTPPOST_BUFFER, HTTPPOST_FILENAME, HTTPPOST_READFILE, curl_httppost::more, curl_httppost::name, curl_httppost::namelength, curl_httppost::next, curl_slist::next, NULL, curl_httppost::showfilename, strequal, and strippath().
Referenced by curl_formget(), and Curl_http().
1.5.6