Lines Matching refs:set
121 * curl_global_init() is called, we need to have these pointers set already.
141 * curl_global_init() globally initializes curl given a bitwise set of the
213 * curl_global_init() globally initializes curl given a bitwise set of the
253 /* set memory functions before global_init() in case it wants memory
386 bool msbump; /* set TRUE when timeout is set by callback */
714 * DEBUG: if 'events' is set TRUE, this function will use a replacement engine
727 if(data->set.errorbuffer)
729 data->set.errorbuffer[0] = 0;
751 curl_multi_setopt(multi, CURLMOPT_MAXCONNECTS, (long)data->set.maxconnects);
839 /* Copy src->set into dst->set first, then deal with the strings
841 dst->set = src->set;
842 Curl_mime_initpart(&dst->set.mimepost);
846 memset(dst->set.str, 0, STRING_LAST * sizeof(char *));
847 memset(dst->set.blobs, 0, BLOB_LAST * sizeof(struct curl_blob *));
851 result = Curl_setstropt(&dst->set.str[i], src->set.str[i]);
858 result = Curl_setblobopt(&dst->set.blobs[j], src->set.blobs[j]);
865 if(src->set.str[i]) {
866 if(src->set.postfieldsize == -1)
867 dst->set.str[i] = strdup(src->set.str[i]);
870 dst->set.str[i] = Curl_memdup(src->set.str[i],
871 curlx_sotouz(src->set.postfieldsize));
872 if(!dst->set.str[i])
875 dst->set.postfields = dst->set.str[i];
879 result = Curl_mime_duppart(dst, &dst->set.mimepost, &src->set.mimepost);
881 if(src->set.resolve)
882 dst->state.resolve = dst->set.resolve;
890 * with all options set exactly as the input source handle.
903 outcurl->set.buffer_size = data->set.buffer_size;
926 data->set.cookiesession);
954 if(outcurl->set.str[STRING_SSL_ENGINE]) {
955 if(Curl_ssl_set_engine(outcurl, outcurl->set.str[STRING_SSL_ENGINE]))
964 if(outcurl->set.str[STRING_ALTSVC])
965 (void)Curl_altsvc_load(outcurl->asi, outcurl->set.str[STRING_ALTSVC]);
973 if(outcurl->set.str[STRING_HSTS])
975 outcurl->hsts, outcurl->set.str[STRING_HSTS]);
992 rc = Curl_set_dns_servers(outcurl, data->set.str[STRING_DNS_SERVERS]);
996 rc = Curl_set_dns_interface(outcurl, data->set.str[STRING_DNS_INTERFACE]);
1000 rc = Curl_set_dns_local_ip4(outcurl, data->set.str[STRING_DNS_LOCAL_IP4]);
1004 rc = Curl_set_dns_local_ip6(outcurl, data->set.str[STRING_DNS_LOCAL_IP6]);
1045 memset(&data->set, 0, sizeof(struct UserDefined));
1097 /* first switch off both pause bits then set the new pause bits */
1161 /* this might have called a callback recursively which might have set this
1176 if(!data->set.connect_only) {
1314 if(Curl_timediff(*now, conn->keepalive) <= data->set.upkeep_interval_ms)