| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | configfile.c | 28 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 D | configfile-glue.c | 31 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 D | mod_auth.c | 328 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 D | mod_mysql_vhost.c | 177 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 D | mod_dirlisting.c | 260 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 D | mod_userdir.c | 86 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 D | mod_secure_download.c | 90 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 D | mod_trigger_b4_dl.c | 132 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 D | mod_cml.c | 76 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 D | mod_simple_vhost.c | 81 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 D | mod_setenv.c | 90 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 D | mod_usertrack.c | 70 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 D | mod_evasive.c | 75 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 D | mod_indexfile.c | 76 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 D | mod_access.c | 59 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 D | mod_skeleton.c | 104 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 D | mod_redirect.c | 71 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 D | mod_alias.c | 68 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 D | mod_staticfile.c | 85 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 D | mod_flv_streaming.c | 80 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 D | mod_rrdtool.c | 340 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 D | mod_extforward.c | 159 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 D | mod_expire.c | 217 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 D | plugin.h | 85 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 D | mod_evhost.c | 124 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()
|