Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 25 of 36) sorted by relevance

12

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dconfigfile.c28 config_values_t cv[] = { in config_insert() local
219 cv[7].destination = s->server_tag; in config_insert()
220 cv[8].destination = &(s->use_ipv6); in config_insert()
233 cv[18].destination = s->server_name; in config_insert()
244 cv[27].destination = &(s->use_xattr); in config_insert()
245 cv[28].destination = s->mimetypes; in config_insert()
246 cv[29].destination = s->ssl_pemfile; in config_insert()
247 cv[30].destination = &(s->is_ssl); in config_insert()
257 cv[39].destination = s->ssl_ca_file; in config_insert()
263 cv[63].destination = s->ssl_dh_file; in config_insert()
[all …]
H A Dconfigfile-glue.c31 for (i = 0; cv[i].key; i++) { in config_insert_values_internal()
33 if (NULL == (du = array_get_element(ca, cv[i].key))) { in config_insert_values_internal()
39 switch (cv[i].type) { in config_insert_values_internal()
104 *((unsigned short *)(cv[i].destination)) = l; in config_insert_values_internal()
133 *((unsigned int *)(cv[i].destination)) = l; in config_insert_values_internal()
153 *((unsigned short *)(cv[i].destination)) = 1; in config_insert_values_internal()
155 *((unsigned short *)(cv[i].destination)) = 0; in config_insert_values_internal()
171 …, __FILE__, __LINE__, "ssss", "ERROR: found unsupported key:", cv[i].key, "-", (char *)(cv[i].dest… in config_insert_values_internal()
177 …v, __FILE__, __LINE__, "ssss", "ERROR: found deprecated key:", cv[i].key, "-", (char *)(cv[i].dest… in config_insert_values_internal()
192 for (i = 0; cv[i].key; i++) { in config_insert_values_global()
[all …]
H A Dmod_auth.c328 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
379 cv[0].destination = s->auth_backend_conf; in SETDEFAULTS_FUNC()
381 cv[2].destination = s->auth_plain_userfile; in SETDEFAULTS_FUNC()
382 cv[3].destination = s->auth_require; in SETDEFAULTS_FUNC()
383 cv[4].destination = s->auth_ldap_hostname; in SETDEFAULTS_FUNC()
384 cv[5].destination = s->auth_ldap_basedn; in SETDEFAULTS_FUNC()
385 cv[6].destination = s->auth_ldap_filter; in SETDEFAULTS_FUNC()
386 cv[7].destination = s->auth_ldap_cafile; in SETDEFAULTS_FUNC()
388 cv[9].destination = s->auth_ldap_binddn; in SETDEFAULTS_FUNC()
389 cv[10].destination = s->auth_ldap_bindpw; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_mysql_vhost.c177 config_values_t cv[] = { local
208 cv[0].destination = s->mydb;
209 cv[1].destination = s->myuser;
210 cv[2].destination = s->mypass;
211 cv[3].destination = s->mysock;
212 cv[4].destination = sel;
213 cv[5].destination = s->hostname;
214 cv[6].destination = &(s->port);
220 cv)) return HANDLER_ERROR;
H A Dmod_dirlisting.c260 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
303 cv[0].destination = s->excludes; in SETDEFAULTS_FUNC()
304 cv[1].destination = &(s->dir_listing); in SETDEFAULTS_FUNC()
305 cv[2].destination = &(s->hide_dot_files); in SETDEFAULTS_FUNC()
306 cv[3].destination = s->external_css; in SETDEFAULTS_FUNC()
307 cv[4].destination = s->encoding; in SETDEFAULTS_FUNC()
308 cv[5].destination = &(s->show_readme); in SETDEFAULTS_FUNC()
310 cv[7].destination = &(s->show_header); in SETDEFAULTS_FUNC()
313 cv[10].destination = s->set_footer; in SETDEFAULTS_FUNC()
314 cv[11].destination = &(s->encode_readme); in SETDEFAULTS_FUNC()
[all …]
H A Dmod_userdir.c86 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
109 cv[0].destination = s->path; in SETDEFAULTS_FUNC()
110 cv[1].destination = s->exclude_user; in SETDEFAULTS_FUNC()
111 cv[2].destination = s->include_user; in SETDEFAULTS_FUNC()
112 cv[3].destination = s->basepath; in SETDEFAULTS_FUNC()
113 cv[4].destination = &(s->letterhomes); in SETDEFAULTS_FUNC()
117 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_secure_download.c90 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
111 cv[0].destination = s->secret; in SETDEFAULTS_FUNC()
112 cv[1].destination = s->doc_root; in SETDEFAULTS_FUNC()
113 cv[2].destination = s->uri_prefix; in SETDEFAULTS_FUNC()
114 cv[3].destination = &(s->timeout); in SETDEFAULTS_FUNC()
118 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_trigger_b4_dl.c132 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
163 cv[0].destination = s->db_filename; in SETDEFAULTS_FUNC()
164 cv[1].destination = s->trigger_url; in SETDEFAULTS_FUNC()
165 cv[2].destination = s->download_url; in SETDEFAULTS_FUNC()
166 cv[3].destination = s->deny_url; in SETDEFAULTS_FUNC()
167 cv[4].destination = &(s->trigger_timeout); in SETDEFAULTS_FUNC()
168 cv[5].destination = s->mc_hosts; in SETDEFAULTS_FUNC()
169 cv[6].destination = s->mc_namespace; in SETDEFAULTS_FUNC()
170 cv[7].destination = &(s->debug); in SETDEFAULTS_FUNC()
174 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_cml.c76 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
100 cv[0].destination = s->ext; in SETDEFAULTS_FUNC()
101 cv[1].destination = s->mc_hosts; in SETDEFAULTS_FUNC()
102 cv[2].destination = s->mc_namespace; in SETDEFAULTS_FUNC()
103 cv[3].destination = s->power_magnet; in SETDEFAULTS_FUNC()
107 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_simple_vhost.c81 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
108 cv[0].destination = s->server_root; in SETDEFAULTS_FUNC()
109 cv[1].destination = s->default_host; in SETDEFAULTS_FUNC()
110 cv[2].destination = s->document_root; in SETDEFAULTS_FUNC()
111 cv[3].destination = &(s->debug); in SETDEFAULTS_FUNC()
116 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_setenv.c90 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
109 cv[0].destination = s->request_header; in SETDEFAULTS_FUNC()
110 cv[1].destination = s->response_header; in SETDEFAULTS_FUNC()
111 cv[2].destination = s->environment; in SETDEFAULTS_FUNC()
115 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_usertrack.c70 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
91 cv[0].destination = s->cookie_name; in SETDEFAULTS_FUNC()
92 cv[1].destination = &(s->cookie_max_age); in SETDEFAULTS_FUNC()
93 cv[2].destination = s->cookie_domain; in SETDEFAULTS_FUNC()
97 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_evasive.c75 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
90 cv[0].destination = &(s->max_conns); in SETDEFAULTS_FUNC()
91 cv[1].destination = &(s->silent); in SETDEFAULTS_FUNC()
95 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_indexfile.c76 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
92 cv[0].destination = s->indexfiles; in SETDEFAULTS_FUNC()
93 cv[1].destination = s->indexfiles; /* old name for [0] */ in SETDEFAULTS_FUNC()
97 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_access.c59 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
72 cv[0].destination = s->access_deny; in SETDEFAULTS_FUNC()
76 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_skeleton.c104 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
119 cv[0].destination = s->match; in SETDEFAULTS_FUNC()
123 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_redirect.c71 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
92 cv[0].destination = s->redirect; in SETDEFAULTS_FUNC()
93 cv[1].destination = &(s->redirect_code); in SETDEFAULTS_FUNC()
98 if (0 != config_insert_values_global(srv, ca, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_alias.c68 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
82 cv[0].destination = s->alias; in SETDEFAULTS_FUNC()
86 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_staticfile.c85 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
104 cv[0].destination = s->exclude_ext; in SETDEFAULTS_FUNC()
105 cv[1].destination = &(s->etags_used); in SETDEFAULTS_FUNC()
106 cv[2].destination = &(s->disable_pathinfo); in SETDEFAULTS_FUNC()
110 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_flv_streaming.c80 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
95 cv[0].destination = s->extensions; in SETDEFAULTS_FUNC()
99 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_rrdtool.c340 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
360 cv[0].destination = s->path_rrdtool_bin; in SETDEFAULTS_FUNC()
361 cv[1].destination = s->path_rrd; in SETDEFAULTS_FUNC()
365 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_extforward.c159 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
176 cv[0].destination = s->forwarder; in SETDEFAULTS_FUNC()
177 cv[1].destination = s->headers; in SETDEFAULTS_FUNC()
181 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dmod_expire.c217 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
232 cv[0].destination = s->expire_url; in SETDEFAULTS_FUNC()
236 …(0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()
H A Dplugin.h85 int config_insert_values_global(server *srv, array *ca, const config_values_t *cv);
86 int config_insert_values_internal(server *srv, array *ca, const config_values_t *cv);
H A Dmod_evhost.c124 config_values_t cv[] = { in SETDEFAULTS_FUNC() local
141 cv[0].destination = s->path_pieces_raw; in SETDEFAULTS_FUNC()
145 …0 != config_insert_values_global(srv, ((data_config *)srv->config_context->data[i])->value, cv)) { in SETDEFAULTS_FUNC()

12