• Home
  • Raw
  • Download

Lines Matching full:config

29 void config_init(struct OperationConfig* config)  in config_init()  argument
31 memset(config, 0, sizeof(struct OperationConfig)); in config_init()
33 config->postfieldsize = -1; in config_init()
34 config->use_httpget = FALSE; in config_init()
35 config->create_dirs = FALSE; in config_init()
36 config->maxredirs = DEFAULT_MAXREDIRS; in config_init()
37 config->proto = CURLPROTO_ALL; /* FIXME: better to read from library */ in config_init()
38 config->proto_present = FALSE; in config_init()
39 config->proto_redir = CURLPROTO_ALL & /* All except FILE, SCP and SMB */ in config_init()
42 config->proto_redir_present = FALSE; in config_init()
43 config->proto_default = NULL; in config_init()
44 config->tcp_nodelay = TRUE; /* enabled by default */ in config_init()
45 config->happy_eyeballs_timeout_ms = CURL_HET_DEFAULT; in config_init()
46 config->http09_allowed = TRUE; in config_init()
49 static void free_config_fields(struct OperationConfig *config) in free_config_fields() argument
53 Curl_safefree(config->random_file); in free_config_fields()
54 Curl_safefree(config->egd_file); in free_config_fields()
55 Curl_safefree(config->useragent); in free_config_fields()
56 Curl_safefree(config->altsvc); in free_config_fields()
57 Curl_safefree(config->cookie); in free_config_fields()
58 Curl_safefree(config->cookiejar); in free_config_fields()
59 Curl_safefree(config->cookiefile); in free_config_fields()
61 Curl_safefree(config->postfields); in free_config_fields()
62 Curl_safefree(config->referer); in free_config_fields()
64 Curl_safefree(config->headerfile); in free_config_fields()
65 Curl_safefree(config->ftpport); in free_config_fields()
66 Curl_safefree(config->iface); in free_config_fields()
68 Curl_safefree(config->range); in free_config_fields()
70 Curl_safefree(config->userpwd); in free_config_fields()
71 Curl_safefree(config->tls_username); in free_config_fields()
72 Curl_safefree(config->tls_password); in free_config_fields()
73 Curl_safefree(config->tls_authtype); in free_config_fields()
74 Curl_safefree(config->proxy_tls_username); in free_config_fields()
75 Curl_safefree(config->proxy_tls_password); in free_config_fields()
76 Curl_safefree(config->proxy_tls_authtype); in free_config_fields()
77 Curl_safefree(config->proxyuserpwd); in free_config_fields()
78 Curl_safefree(config->proxy); in free_config_fields()
80 Curl_safefree(config->dns_ipv6_addr); in free_config_fields()
81 Curl_safefree(config->dns_ipv4_addr); in free_config_fields()
82 Curl_safefree(config->dns_interface); in free_config_fields()
83 Curl_safefree(config->dns_servers); in free_config_fields()
85 Curl_safefree(config->noproxy); in free_config_fields()
87 Curl_safefree(config->mail_from); in free_config_fields()
88 curl_slist_free_all(config->mail_rcpt); in free_config_fields()
89 Curl_safefree(config->mail_auth); in free_config_fields()
91 Curl_safefree(config->netrc_file); in free_config_fields()
93 urlnode = config->url_list; in free_config_fields()
102 config->url_list = NULL; in free_config_fields()
103 config->url_last = NULL; in free_config_fields()
104 config->url_get = NULL; in free_config_fields()
105 config->url_out = NULL; in free_config_fields()
107 Curl_safefree(config->doh_url); in free_config_fields()
108 Curl_safefree(config->cipher_list); in free_config_fields()
109 Curl_safefree(config->proxy_cipher_list); in free_config_fields()
110 Curl_safefree(config->cert); in free_config_fields()
111 Curl_safefree(config->proxy_cert); in free_config_fields()
112 Curl_safefree(config->cert_type); in free_config_fields()
113 Curl_safefree(config->proxy_cert_type); in free_config_fields()
114 Curl_safefree(config->cacert); in free_config_fields()
115 Curl_safefree(config->proxy_cacert); in free_config_fields()
116 Curl_safefree(config->capath); in free_config_fields()
117 Curl_safefree(config->proxy_capath); in free_config_fields()
118 Curl_safefree(config->crlfile); in free_config_fields()
119 Curl_safefree(config->pinnedpubkey); in free_config_fields()
120 Curl_safefree(config->proxy_pinnedpubkey); in free_config_fields()
121 Curl_safefree(config->proxy_crlfile); in free_config_fields()
122 Curl_safefree(config->key); in free_config_fields()
123 Curl_safefree(config->proxy_key); in free_config_fields()
124 Curl_safefree(config->key_type); in free_config_fields()
125 Curl_safefree(config->proxy_key_type); in free_config_fields()
126 Curl_safefree(config->key_passwd); in free_config_fields()
127 Curl_safefree(config->proxy_key_passwd); in free_config_fields()
128 Curl_safefree(config->pubkey); in free_config_fields()
129 Curl_safefree(config->hostpubmd5); in free_config_fields()
130 Curl_safefree(config->engine); in free_config_fields()
131 Curl_safefree(config->request_target); in free_config_fields()
132 Curl_safefree(config->customrequest); in free_config_fields()
133 Curl_safefree(config->krblevel); in free_config_fields()
135 Curl_safefree(config->oauth_bearer); in free_config_fields()
137 Curl_safefree(config->unix_socket_path); in free_config_fields()
138 Curl_safefree(config->writeout); in free_config_fields()
139 Curl_safefree(config->proto_default); in free_config_fields()
141 curl_slist_free_all(config->quote); in free_config_fields()
142 curl_slist_free_all(config->postquote); in free_config_fields()
143 curl_slist_free_all(config->prequote); in free_config_fields()
145 curl_slist_free_all(config->headers); in free_config_fields()
146 curl_slist_free_all(config->proxyheaders); in free_config_fields()
148 curl_mime_free(config->mimepost); in free_config_fields()
149 config->mimepost = NULL; in free_config_fields()
150 tool_mime_free(config->mimeroot); in free_config_fields()
151 config->mimeroot = NULL; in free_config_fields()
152 config->mimecurrent = NULL; in free_config_fields()
154 curl_slist_free_all(config->telnet_options); in free_config_fields()
155 curl_slist_free_all(config->resolve); in free_config_fields()
156 curl_slist_free_all(config->connect_to); in free_config_fields()
158 Curl_safefree(config->preproxy); in free_config_fields()
159 Curl_safefree(config->proxy_service_name); in free_config_fields()
160 Curl_safefree(config->service_name); in free_config_fields()
162 Curl_safefree(config->ftp_account); in free_config_fields()
163 Curl_safefree(config->ftp_alternative_to_user); in free_config_fields()
166 void config_free(struct OperationConfig *config) in config_free() argument
168 struct OperationConfig *last = config; in config_free()