• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/curl-78.94.1/curl/lib/

Lines Matching defs:post

90   struct curl_httppost *post;
91 post = calloc(1, sizeof(struct curl_httppost));
92 if(post) {
93 post->name = name;
94 post->namelength = (long)(name?(namelength?namelength:strlen(name)):0);
95 post->contents = value;
96 post->contentslength = (long)contentslength;
97 post->buffer = buffer;
98 post->bufferlength = (long)bufferlength;
99 post->contenttype = contenttype;
100 post->contentheader = contentHeader;
101 post->showfilename = showfilename;
102 post->userp = userp,
103 post->flags = flags;
110 post->more = parent_post->more;
113 parent_post->more = post;
118 (*last_post)->next = post;
120 (*httppost) = post;
122 (*last_post) = post;
124 return post;
265 * post parts. Byte arrays are either copied or just the pointer is stored
276 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
280 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
285 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
290 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
315 struct curl_httppost *post = NULL;
649 post = NULL;
653 if(((!form->name || !form->value) && !post) ||
706 post = AddHttpPost(form->name, form->namelength,
712 post, httppost,
715 if(!post) {
934 * curl_formfree() is an external function to free up a whole form post
1072 * (possibly huge) multipart formdata. The input list is in 'post', while the
1085 struct curl_httppost *post,
1101 if(!post)
1146 result = AddFormData(&form, FORM_DATA, post->name, post->namelength,
1155 if(post->more) {
1174 file = post;
1182 if(post->more) {
1194 else if(post->flags & (HTTPPOST_FILENAME|HTTPPOST_BUFFER|
1199 if(post->showfilename || (post->flags & HTTPPOST_FILENAME)) {
1200 result = formdata_add_filename(post, &form, &size);
1231 if((post->flags & HTTPPOST_FILENAME) ||
1232 (post->flags & HTTPPOST_READFILE)) {
1274 else if(post->flags & HTTPPOST_BUFFER)
1276 result = AddFormData(&form, FORM_CONTENT, post->buffer,
1277 post->bufferlength, &size);
1278 else if(post->flags & HTTPPOST_CALLBACK)
1281 result = AddFormData(&form, FORM_CALLBACK, post->userp,
1282 post->contentslength, &size);
1285 result = AddFormData(&form, FORM_CONTENT, post->contents,
1286 post->contentslength, &size);
1294 if(post->more) {
1304 } while((post = post->next) != NULL); /* for each field */
1445 * the post).