• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/

Lines Matching refs:post

87   struct curl_httppost *post;
88 post = calloc(1, sizeof(struct curl_httppost));
89 if(post) {
90 post->name = name;
91 post->namelength = (long)(name?(namelength?namelength:strlen(name)):0);
92 post->contents = value;
93 post->contentslength = (long)contentslength;
94 post->buffer = buffer;
95 post->bufferlength = (long)bufferlength;
96 post->contenttype = contenttype;
97 post->contentheader = contentHeader;
98 post->showfilename = showfilename;
99 post->userp = userp,
100 post->flags = flags;
107 post->more = parent_post->more;
110 parent_post->more = post;
115 (*last_post)->next = post;
117 (*httppost) = post;
119 (*last_post) = post;
121 return post;
262 * post parts. Byte arrays are either copied or just the pointer is stored
273 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
277 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
282 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
287 * curl_formadd (&post, &last, CURLFORM_COPYNAME, "name",
312 struct curl_httppost *post = NULL;
646 post = NULL;
650 if(((!form->name || !form->value) && !post) ||
705 post = AddHttpPost(form->name, form->namelength,
711 post, httppost,
714 if(!post) {
997 * curl_formfree() is an external function to free up a whole form post
1137 * (possibly huge) multipart formdata. The input list is in 'post', while the
1150 struct curl_httppost *post,
1166 if(!post)
1211 result = AddFormData(&form, FORM_DATA, post->name, post->namelength,
1220 if(post->more) {
1239 file = post;
1247 if(post->more) {
1259 else if(post->flags & (HTTPPOST_FILENAME|HTTPPOST_BUFFER|
1264 if(post->showfilename || (post->flags & HTTPPOST_FILENAME)) {
1265 result = formdata_add_filename(post, &form, &size);
1296 if((post->flags & HTTPPOST_FILENAME) ||
1297 (post->flags & HTTPPOST_READFILE)) {
1339 else if(post->flags & HTTPPOST_BUFFER)
1341 result = AddFormData(&form, FORM_CONTENT, post->buffer,
1342 post->bufferlength, &size);
1343 else if(post->flags & HTTPPOST_CALLBACK)
1346 result = AddFormData(&form, FORM_CALLBACK, post->userp,
1347 post->contentslength, &size);
1350 result = AddFormData(&form, FORM_CONTENT, post->contents,
1351 post->contentslength, &size);
1359 if(post->more) {
1369 } while((post = post->next) != NULL); /* for each field */
1540 * the post).