Lines Matching +defs:val +defs:list

61                                     const char *val)
71 worker->s->lbfactor = atoi(val);
80 ival = atoi(val);
90 ival = atoi(val);
98 ival = atoi(val);
106 ival = atoi(val);
116 ival = atoi(val);
126 if (ap_timeout_parameter_parse(val, &timeout, "ms") != APR_SUCCESS)
137 ival = atoi(val);
144 long s = atol(val);
152 ival = atoi(val);
160 if (!strcasecmp(val, "on"))
162 else if (!strcasecmp(val, "off"))
169 if (!strcasecmp(val, "on"))
171 else if (!strcasecmp(val, "off"))
178 if (!strcasecmp(val, "on"))
180 else if (!strcasecmp(val, "off"))
189 if (strlen(val) >= sizeof(worker->s->route))
192 PROXY_STRNCPY(worker->s->route, val);
197 if (strlen(val) >= sizeof(worker->s->redirect))
200 PROXY_STRNCPY(worker->s->redirect, val);
208 for (v = val; *v; v++) {
223 if (!strcasecmp(val, "on"))
225 else if (!strcasecmp(val, "off"))
227 else if (!strcasecmp(val, "auto"))
233 ival = atoi(val);
245 if (ap_timeout_parameter_parse(val, &timeout, "s") != APR_SUCCESS)
253 ival = atoi(val);
262 if (ap_timeout_parameter_parse(val, &timeout, "s") != APR_SUCCESS)
270 if (strlen(val) >= sizeof(worker->s->flusher))
273 PROXY_STRNCPY(worker->s->flusher, val);
285 const char *val)
295 if (strlen(val) >= sizeof(balancer->s->sticky_path))
298 PROXY_STRNCPY(balancer->s->sticky_path, val);
299 PROXY_STRNCPY(balancer->s->sticky, val);
310 if (strlen(val) != 1) {
311 if (!strcasecmp(val, "off"))
317 balancer->s->sticky_separator = *val;
325 if (!strcasecmp(val, "on"))
327 else if (!strcasecmp(val, "off"))
339 ival = atoi(val);
348 ival = atoi(val);
356 if (strlen(val) > (sizeof(balancer->s->lbpname)-1))
358 provider = ap_lookup_provider(PROXY_LBMETHOD, val, "0");
361 if (PROXY_STRNCPY(balancer->s->lbpname, val) == APR_SUCCESS) {
376 if (!strcasecmp(val, "on"))
378 else if (!strcasecmp(val, "off"))
389 val_split = apr_pstrdup(p, val);
407 if (!strcasecmp(val, "on"))
409 else if (!strcasecmp(val, "off"))
416 if (!strcasecmp(val, "None")) {
420 if (PROXY_STRNCPY(balancer->s->nonce, val) != APR_SUCCESS) {
427 ival = atoi(val);
434 if (!strcasecmp(val, "on"))
436 else if (!strcasecmp(val, "off"))
556 const char *val;
569 val = apr_table_get(r->subprocess_env, var);
572 if (val == NULL) {
577 return apr_pstrcat(r->pool, firstpart, val,
737 /* long way - walk the list of aliases, find a match */
944 struct dirconn_entry *list = (struct dirconn_entry *)conf->dirconn->elts;
1065 direct_connect = list[i].matcher(&list[i], r);
1667 char *val = strchr(word, '=');
1668 if (!val) {
1685 *val++ = '\0';
1686 apr_table_setn(params, word, val);
1751 elts[i].val);
1792 elts[i].key, elts[i].val, ap_proxy_worker_name(cmd->pool, worker));
1795 elts[i].val);
1889 struct noproxy_entry *list = (struct noproxy_entry *) conf->noproxies->elts;
1896 if (strcasecmp(arg, list[i].name) == 0) { /* ignore case for host names */
1926 struct dirconn_entry *list = (struct dirconn_entry *) conf->dirconn->elts;
1932 if (strcasecmp(arg, list[i].name) == 0) {
2215 char *val;
2217 val = strchr(word, '=');
2219 if (!val) {
2232 *val++ = '\0';
2233 apr_table_setn(params, word, val);
2276 elts[i].key, elts[i].val, ap_proxy_worker_name(cmd->pool, worker));
2279 elts[i].val);
2295 char *word, *val;
2355 val = strchr(word, '=');
2356 if (!val) {
2361 *val++ = '\0';
2363 err = set_worker_param(cmd->pool, worker, word, val);
2365 err = set_balancer_param(conf, cmd->pool, balancer, word, val);
2368 return apr_pstrcat(cmd->temp_pool, "ProxySet: ", err, " ", word, "=", val, "; ", name, NULL);
2393 char *word, *val;
2508 val = strchr(word, '=');
2509 if (!val) {
2514 *val++ = '\0';
2516 err = set_worker_param(cmd->pool, worker, word, val);
2519 word, val);
2522 word, "=", val, "; ", conf->p, NULL);
2560 "A list of names, hosts or domains to which the proxy will not connect"),
2568 "A list of domains, hosts, or subnets to which the proxy will connect directly"),
2583 "A balancer name and scheme with list of params"),
2597 "A balancer or worker name with list of params"),