Lines Matching refs:ptr
1670 char *ptr) in setopt_cptr() argument
1677 return Curl_setstropt(&data->set.str[STRING_SSL_CIPHER_LIST], ptr); in setopt_cptr()
1685 ptr); in setopt_cptr()
1694 return Curl_setstropt(&data->set.str[STRING_SSL_CIPHER13_LIST], ptr); in setopt_cptr()
1704 ptr); in setopt_cptr()
1714 return Curl_setstropt(&data->set.str[STRING_TARGET], ptr); in setopt_cptr()
1720 return Curl_setstropt(&data->set.str[STRING_NETRC_FILE], ptr); in setopt_cptr()
1730 if(!ptr || data->set.postfieldsize == -1) in setopt_cptr()
1731 result = Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], ptr); in setopt_cptr()
1748 char *p = Curl_memdup0(ptr, (size_t)data->set.postfieldsize); in setopt_cptr()
1766 data->set.postfields = ptr; in setopt_cptr()
1783 if(ptr && !*ptr) { in setopt_cptr()
1788 return Curl_setstropt(&data->set.str[STRING_ENCODING], ptr); in setopt_cptr()
1796 result = Curl_setstropt(&data->set.str[STRING_AWS_SIGV4], ptr); in setopt_cptr()
1812 result = Curl_setstropt(&data->set.str[STRING_SET_REFERER], ptr); in setopt_cptr()
1820 return Curl_setstropt(&data->set.str[STRING_USERAGENT], ptr); in setopt_cptr()
1827 return Curl_setstropt(&data->set.str[STRING_COOKIE], ptr); in setopt_cptr()
1833 if(ptr) { in setopt_cptr()
1836 if(strlen(ptr) > CURL_MAX_INPUT_LENGTH) in setopt_cptr()
1840 cl = curl_slist_append(data->state.cookielist, ptr); in setopt_cptr()
1868 result = Curl_setstropt(&data->set.str[STRING_COOKIEJAR], ptr); in setopt_cptr()
1883 if(!ptr) in setopt_cptr()
1886 if(strcasecompare(ptr, "ALL")) { in setopt_cptr()
1892 else if(strcasecompare(ptr, "SESS")) { in setopt_cptr()
1898 else if(strcasecompare(ptr, "FLUSH")) { in setopt_cptr()
1902 else if(strcasecompare(ptr, "RELOAD")) { in setopt_cptr()
1916 if(strlen(ptr) > CURL_MAX_INPUT_LENGTH) in setopt_cptr()
1920 if(checkprefix("Set-Cookie:", ptr)) in setopt_cptr()
1922 Curl_cookie_add(data, data->cookies, TRUE, FALSE, ptr + 11, NULL, in setopt_cptr()
1926 Curl_cookie_add(data, data->cookies, FALSE, FALSE, ptr, NULL, in setopt_cptr()
1939 return Curl_setstropt(&data->set.str[STRING_CUSTOMREQUEST], ptr); in setopt_cptr()
1958 return Curl_setstropt(&data->set.str[STRING_PROXY], ptr); in setopt_cptr()
1968 return Curl_setstropt(&data->set.str[STRING_PRE_PROXY], ptr); in setopt_cptr()
1977 return Curl_setstropt(&data->set.str[STRING_PROXY_SERVICE_NAME], ptr); in setopt_cptr()
1983 return Curl_setstropt(&data->set.str[STRING_SERVICE_NAME], ptr); in setopt_cptr()
1990 data->set.writeheader = (void *)ptr; in setopt_cptr()
1997 data->set.in_set = (void *)ptr; in setopt_cptr()
2004 data->set.out = (void *)ptr; in setopt_cptr()
2011 data->set.debugdata = (void *)ptr; in setopt_cptr()
2017 data->set.progress_client = (void *)ptr; in setopt_cptr()
2023 data->set.seek_client = (void *)ptr; in setopt_cptr()
2029 data->set.ioctl_client = (void *)ptr; in setopt_cptr()
2037 data->set.ssl.fsslctxp = (void *)ptr; in setopt_cptr()
2046 data->set.sockopt_client = (void *)ptr; in setopt_cptr()
2052 data->set.opensocket_client = (void *)ptr; in setopt_cptr()
2058 data->set.resolver_start_client = (void *)ptr; in setopt_cptr()
2064 data->set.closesocket_client = (void *)ptr; in setopt_cptr()
2068 data->set.trailer_data = (void *)ptr; in setopt_cptr()
2072 data->set.prereq_userp = (void *)ptr; in setopt_cptr()
2080 data->set.errorbuffer = ptr; in setopt_cptr()
2088 result = Curl_setstropt(&data->set.str[STRING_FTPPORT], ptr); in setopt_cptr()
2093 return Curl_setstropt(&data->set.str[STRING_FTP_ACCOUNT], ptr); in setopt_cptr()
2096 return Curl_setstropt(&data->set.str[STRING_FTP_ALTERNATIVE_TO_USER], ptr); in setopt_cptr()
2103 result = Curl_setstropt(&data->set.str[STRING_KRB_LEVEL], ptr); in setopt_cptr()
2117 result = Curl_setstropt(&data->set.str[STRING_SET_URL], ptr); in setopt_cptr()
2125 return setstropt_userpwd(ptr, &data->set.str[STRING_USERNAME], in setopt_cptr()
2132 return Curl_setstropt(&data->set.str[STRING_USERNAME], ptr); in setopt_cptr()
2138 return Curl_setstropt(&data->set.str[STRING_PASSWORD], ptr); in setopt_cptr()
2144 return Curl_setstropt(&data->set.str[STRING_OPTIONS], ptr); in setopt_cptr()
2150 return Curl_setstropt(&data->set.str[STRING_BEARER], ptr); in setopt_cptr()
2159 result = setstropt_userpwd(ptr, &u, &p); in setopt_cptr()
2176 return Curl_setstropt(&data->set.str[STRING_PROXYUSERNAME], ptr); in setopt_cptr()
2182 return Curl_setstropt(&data->set.str[STRING_PROXYPASSWORD], ptr); in setopt_cptr()
2188 return Curl_setstropt(&data->set.str[STRING_NOPROXY], ptr); in setopt_cptr()
2195 return Curl_setstropt(&data->set.str[STRING_SET_RANGE], ptr); in setopt_cptr()
2202 data->set.uh = (CURLU *)ptr; in setopt_cptr()
2208 return Curl_setstropt(&data->set.str[STRING_CERT], ptr); in setopt_cptr()
2215 return Curl_setstropt(&data->set.str[STRING_CERT_PROXY], ptr); in setopt_cptr()
2222 return Curl_setstropt(&data->set.str[STRING_CERT_TYPE], ptr); in setopt_cptr()
2229 return Curl_setstropt(&data->set.str[STRING_CERT_TYPE_PROXY], ptr); in setopt_cptr()
2235 return Curl_setstropt(&data->set.str[STRING_KEY], ptr); in setopt_cptr()
2242 return Curl_setstropt(&data->set.str[STRING_KEY_PROXY], ptr); in setopt_cptr()
2249 return Curl_setstropt(&data->set.str[STRING_KEY_TYPE], ptr); in setopt_cptr()
2256 return Curl_setstropt(&data->set.str[STRING_KEY_TYPE_PROXY], ptr); in setopt_cptr()
2263 return Curl_setstropt(&data->set.str[STRING_KEY_PASSWD], ptr); in setopt_cptr()
2270 return Curl_setstropt(&data->set.str[STRING_KEY_PASSWD_PROXY], ptr); in setopt_cptr()
2276 if(ptr && ptr[0]) { in setopt_cptr()
2277 result = Curl_setstropt(&data->set.str[STRING_SSL_ENGINE], ptr); in setopt_cptr()
2279 result = Curl_ssl_set_engine(data, ptr); in setopt_cptr()
2289 result = Curl_setstropt(&data->set.str[STRING_HAPROXY_CLIENT_IP], ptr); in setopt_cptr()
2299 return setstropt_interface(ptr, in setopt_cptr()
2311 return Curl_setstropt(&data->set.str[STRING_SSL_PINNEDPUBLICKEY], ptr); in setopt_cptr()
2324 ptr); in setopt_cptr()
2332 return Curl_setstropt(&data->set.str[STRING_SSL_CAFILE], ptr); in setopt_cptr()
2340 return Curl_setstropt(&data->set.str[STRING_SSL_CAFILE_PROXY], ptr); in setopt_cptr()
2351 return Curl_setstropt(&data->set.str[STRING_SSL_CAPATH], ptr); in setopt_cptr()
2363 return Curl_setstropt(&data->set.str[STRING_SSL_CAPATH_PROXY], ptr); in setopt_cptr()
2372 return Curl_setstropt(&data->set.str[STRING_SSL_CRLFILE], ptr); in setopt_cptr()
2380 return Curl_setstropt(&data->set.str[STRING_SSL_CRLFILE_PROXY], ptr); in setopt_cptr()
2387 return Curl_setstropt(&data->set.str[STRING_SSL_ISSUERCERT], ptr); in setopt_cptr()
2395 return Curl_setstropt(&data->set.str[STRING_SSL_ISSUERCERT_PROXY], ptr); in setopt_cptr()
2403 data->set.private_data = (void *)ptr; in setopt_cptr()
2412 return Curl_setstropt(&data->set.str[STRING_SSL_EC_CURVES], ptr); in setopt_cptr()
2419 return Curl_setstropt(&data->set.str[STRING_SSH_PUBLIC_KEY], ptr); in setopt_cptr()
2425 return Curl_setstropt(&data->set.str[STRING_SSH_PRIVATE_KEY], ptr); in setopt_cptr()
2432 return Curl_setstropt(&data->set.str[STRING_SSH_HOST_PUBLIC_KEY_MD5], ptr); in setopt_cptr()
2438 return Curl_setstropt(&data->set.str[STRING_SSH_KNOWNHOSTS], ptr); in setopt_cptr()
2444 data->set.ssh_keyfunc_userp = (void *)ptr; in setopt_cptr()
2453 ptr); in setopt_cptr()
2459 data->set.ssh_hostkeyfunc_userp = (void *)ptr; in setopt_cptr()
2464 if(ptr) in setopt_cptr()
2465 return protocol2num(ptr, &data->set.allowed_protocols); in setopt_cptr()
2471 if(ptr) in setopt_cptr()
2472 return protocol2num(ptr, &data->set.redir_protocols); in setopt_cptr()
2479 return Curl_setstropt(&data->set.str[STRING_DEFAULT_PROTOCOL], ptr); in setopt_cptr()
2484 return Curl_setstropt(&data->set.str[STRING_MAIL_FROM], ptr); in setopt_cptr()
2488 return Curl_setstropt(&data->set.str[STRING_MAIL_AUTH], ptr); in setopt_cptr()
2493 return Curl_setstropt(&data->set.str[STRING_SASL_AUTHZID], ptr); in setopt_cptr()
2501 return Curl_setstropt(&data->set.str[STRING_RTSP_SESSION_ID], ptr); in setopt_cptr()
2508 return Curl_setstropt(&data->set.str[STRING_RTSP_STREAM_URI], ptr); in setopt_cptr()
2515 return Curl_setstropt(&data->set.str[STRING_RTSP_TRANSPORT], ptr); in setopt_cptr()
2518 data->set.rtp_out = (void *)ptr; in setopt_cptr()
2523 data->set.wildcardptr = (void *)ptr; in setopt_cptr()
2526 data->set.fnmatch_data = (void *)ptr; in setopt_cptr()
2531 return Curl_setstropt(&data->set.str[STRING_TLSAUTH_USERNAME], ptr); in setopt_cptr()
2535 return Curl_setstropt(&data->set.str[STRING_TLSAUTH_USERNAME_PROXY], ptr); in setopt_cptr()
2539 return Curl_setstropt(&data->set.str[STRING_TLSAUTH_PASSWORD], ptr); in setopt_cptr()
2543 return Curl_setstropt(&data->set.str[STRING_TLSAUTH_PASSWORD_PROXY], ptr); in setopt_cptr()
2546 if(ptr && !strcasecompare(ptr, "SRP")) in setopt_cptr()
2551 if(ptr && !strcasecompare(ptr, "SRP")) in setopt_cptr()
2558 result = Curl_setstropt(&data->set.str[STRING_DNS_SERVERS], ptr); in setopt_cptr()
2564 result = Curl_setstropt(&data->set.str[STRING_DNS_INTERFACE], ptr); in setopt_cptr()
2570 result = Curl_setstropt(&data->set.str[STRING_DNS_LOCAL_IP4], ptr); in setopt_cptr()
2576 result = Curl_setstropt(&data->set.str[STRING_DNS_LOCAL_IP6], ptr); in setopt_cptr()
2585 return Curl_setstropt(&data->set.str[STRING_UNIX_SOCKET_PATH], ptr); in setopt_cptr()
2589 return Curl_setstropt(&data->set.str[STRING_UNIX_SOCKET_PATH], ptr); in setopt_cptr()
2595 result = Curl_setstropt(&data->set.str[STRING_DOH], ptr); in setopt_cptr()
2601 data->set.hsts_read_userp = (void *)ptr; in setopt_cptr()
2604 data->set.hsts_write_userp = (void *)ptr; in setopt_cptr()
2613 if(ptr) { in setopt_cptr()
2614 result = Curl_setstropt(&data->set.str[STRING_HSTS], ptr); in setopt_cptr()
2620 h = curl_slist_append(data->state.hstslist, ptr); in setopt_cptr()
2646 result = Curl_setstropt(&data->set.str[STRING_ALTSVC], ptr); in setopt_cptr()
2649 if(ptr) in setopt_cptr()
2650 (void)Curl_altsvc_load(data->asi, ptr); in setopt_cptr()
2657 if(!ptr) { in setopt_cptr()
2661 plen = strlen(ptr); in setopt_cptr()
2667 if(!strcmp(ptr, "false")) in setopt_cptr()
2670 else if(!strcmp(ptr, "grease")) in setopt_cptr()
2673 else if(!strcmp(ptr, "true")) in setopt_cptr()
2676 else if(!strcmp(ptr, "hard")) in setopt_cptr()
2679 else if(plen > 5 && !strncmp(ptr, "ecl:", 4)) { in setopt_cptr()
2680 result = Curl_setstropt(&data->set.str[STRING_ECH_CONFIG], ptr + 4); in setopt_cptr()
2685 else if(plen > 4 && !strncmp(ptr, "pn:", 3)) { in setopt_cptr()
2686 result = Curl_setstropt(&data->set.str[STRING_ECH_PUBLIC], ptr + 3); in setopt_cptr()