Home
last modified time | relevance | path

Searched refs:postdata (Results 1 – 8 of 8) sorted by relevance

/third_party/curl/src/
Dtool_getparam.c855 char *postdata = NULL; in data_urlencode() local
884 err = file2memory(&postdata, &size, file); in data_urlencode()
892 err = getstr(&postdata, p, ALLOW_BLANK); in data_urlencode()
895 if(postdata) in data_urlencode()
896 size = strlen(postdata); in data_urlencode()
899 if(!postdata) { in data_urlencode()
902 postdata = strdup(""); in data_urlencode()
903 if(!postdata) in data_urlencode()
908 char *enc = curl_easy_escape(NULL, postdata, (int)size); in data_urlencode()
909 Curl_safefree(postdata); /* no matter if it worked or not */ in data_urlencode()
[all …]
Dtool_cfgable.c48 curlx_dyn_init(&config->postdata, MAX_FILE2MEMORY); in config_init()
63 Curl_dyn_free(&config->postdata); in free_config_fields()
Dtool_cfgable.h71 struct curlx_dynbuf postdata; member
Dtool_setopt.c652 len = curlx_dyn_len(&config->postdata); in tool_setopt()
Dtool_operate.c1422 curlx_dyn_ptr(&config->postdata)); in single_transfer()
1424 (curl_off_t)curlx_dyn_len(&config->postdata)); in single_transfer()
/third_party/curl/lib/
Dhttp.h202 const char *postdata; member
206 const char *postdata; member
Dhttp.c1207 memcpy(buffer, http->postdata, (size_t)http->postsize); in readmoredata()
1212 http->postdata = http->backup.postdata; in readmoredata()
1227 memcpy(buffer, http->postdata, fullsize); in readmoredata()
1228 http->postdata += fullsize; in readmoredata()
1400 http->backup.postdata = http->postdata; in Curl_buffer_send()
1407 http->postdata = ptr; in Curl_buffer_send()
2684 http->postdata = data->set.postfields; in Curl_http_bodysend()
2723 http->postdata = (char *)&http->postdata; in Curl_http_bodysend()
2735 http->postdata?FIRSTSOCKET:-1); in Curl_http_bodysend()
3312 http->postdata = NULL; /* nothing to post at this point */ in Curl_http()
/third_party/curl/docs/libcurl/opts/
DCURLOPT_POSTFIELDS.md24 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_POSTFIELDS, char *postdata);
46 *postdata*.