Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 75) sorted by relevance

123

/lighttpd1.4/src/
H A Dvector.h19 v->data = NULL; \
20 v->used = v->size = 0; \
28 if (release) for (size_t i = 0; i < v->used; ++i) release(v->data[i]); \
29 vector_free(v->data); \
33 if (NULL != v) { \
35 vector_free(v); \
39 if (v->size - v->used < p) \
40 v->data = vector_resize(v->data, sizeof(entry), &v->size, v->used, p); \
44 v->data[v->used++] = e; \
47 ck_assert(v->used > 0); \
[all …]
H A Dmod_rewrite.c47 kvb = cpv->v.v; in FREE_FUNC()
52 kvb_NF = cpv->v.v; in FREE_FUNC()
69 pconf->rewrite = cpv->v.v; in mod_rewrite_merge_config_cpv()
74 pconf->rewrite_NF = cpv->v.v; in mod_rewrite_merge_config_cpv()
201 cpv->v.v = mod_rewrite_parse_list(srv, cpv->v.a, kvb, condidx); in SETDEFAULTS_FUNC()
204 kvb = cpv->v.v; in SETDEFAULTS_FUNC()
208 cpv->v.v = mod_rewrite_parse_list(srv, cpv->v.a, kvb, condidx); in SETDEFAULTS_FUNC()
211 kvb = cpv->v.v; in SETDEFAULTS_FUNC()
215 cpv->v.v = mod_rewrite_parse_list(srv, cpv->v.a, kvb, condidx); in SETDEFAULTS_FUNC()
218 kvb = cpv->v.v; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_maxminddb.c136 if (cpv->vtype == T_CONFIG_LOCAL && NULL != cpv->v.v) { in FREE_FUNC()
138 *(struct MMDB_s **)&mmdb = cpv->v.v; in FREE_FUNC()
144 if (cpv->vtype == T_CONFIG_LOCAL && NULL != cpv->v.v) { in FREE_FUNC()
145 plugin_config_env * const pcenv = cpv->v.v; in FREE_FUNC()
247 pconf->mmdb = cpv->v.v; in mod_maxminddb_merge_config_cpv()
251 plugin_config_env * const pcenv = cpv->v.v; in mod_maxminddb_merge_config_cpv()
317 cpv->v.v = mod_maxminddb_open_db(srv, cpv->v.b); in SETDEFAULTS_FUNC()
318 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
324 cpv->v.v = mod_maxminddb_prep_cenv(srv, cpv->v.a); in SETDEFAULTS_FUNC()
325 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_authn_ldap.c97 pconf->ldc = cpv->v.v; in mod_authn_ldap_merge_config_cpv()
104 pconf->auth_ldap_filter = cpv->v.v; in mod_authn_ldap_merge_config_cpv()
107 pconf->auth_ldap_cafile = cpv->v.v; in mod_authn_ldap_merge_config_cpv()
244 cpv->v.v = ldc; in SETDEFAULTS_FUNC()
247 cpv->v.v = NULL; in SETDEFAULTS_FUNC()
253 cpv->v.v = !buffer_is_blank(cpv->v.b) in SETDEFAULTS_FUNC()
272 cpv->v.v = b; in SETDEFAULTS_FUNC()
275 cpv->v.v = NULL; in SETDEFAULTS_FUNC()
284 cpv->v.v = cafile; in SETDEFAULTS_FUNC()
294 cpv->v.v = binddn; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_extforward.c158 if (cpv->vtype == T_CONFIG_LOCAL) free(cpv->v.v); in FREE_FUNC()
171 const struct forwarder_cfg * const fwd = cpv->v.v; in mod_extforward_merge_config_cpv()
359 cpv->v.v = mod_extforward_parse_forwarder(srv, cpv->v.a); in SETDEFAULTS_FUNC()
360 if (NULL == cpv->v.v) { in SETDEFAULTS_FUNC()
792 if (vlen > v+1 && s[v] == '"' && s[vlen-1] == '"') { in mod_extforward_Forwarded()
805 else if (s[v] != '_' && s[v] != '/' && s[v] != 'u') { in mod_extforward_Forwarded()
821 int trusted = is_proxy_trusted(p, s+v, vlen-v); in mod_extforward_Forwarded()
823 if (s[v] != '_' && s[v] != '/' in mod_extforward_Forwarded()
896 if (vlen > v+1 && s[v] == '"' && s[vlen-1] == '"') { ++v; --vlen; } in mod_extforward_Forwarded()
897 mod_extforward_set_proto(r, s+v, vlen-v); in mod_extforward_Forwarded()
[all …]
H A Dconfigfile.c62 if (cpv->vtype == T_CONFIG_LOCAL) free(cpv->v.v); in config_free_config()
82 if (cpv->vtype == T_CONFIG_LOCAL) ((off_t *)cpv->v.v)[0] = 0; in config_reset_config_bytes_sec()
149 pconf->global_bytes_per_second_cnt_ptr = cpv->v.v; in config_merge_config_cpv()
161 cpv->v.u in config_merge_config_cpv()
166 cpv->v.u in config_merge_config_cpv()
171 cpv->v.u in config_merge_config_cpv()
197 if (cpv->vtype == T_CONFIG_LOCAL) pconf->errh = cpv->v.v; in config_merge_config_cpv()
200 if (cpv->vtype == T_CONFIG_LOCAL) pconf->serrh = cpv->v.v; in config_merge_config_cpv()
1176 cpv->v.v = cnt; in config_insert()
1712 if (!buffer_is_blank(cpv->v.b)) fn = cpv->v.b->ptr; in config_log_error_open()
[all …]
H A Dmod_redirect.c34 for (int i = !p->cvlist[0].v.u2[1], used = p->nconfig; i < used; ++i) { in FREE_FUNC()
35 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
40 pcre_keyvalue_buffer_free(cpv->v.v); in FREE_FUNC()
53 pconf->redirect = cpv->v.v; in mod_redirect_merge_config_cpv()
56 pconf->redirect_code = cpv->v.shrt; in mod_redirect_merge_config_cpv()
130 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
131 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
135 cpv->v.v = in SETDEFAULTS_FUNC()
137 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
141 if (cpv->v.shrt < 100 || cpv->v.shrt >= 1000) cpv->v.shrt = 301; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_vhostdb.c140 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
143 vhostdb_cache_free(cpv->v.v); in FREE_FUNC()
158 pconf->vhostdb_backend = cpv->v.v; in mod_vhostdb_merge_config_cpv()
162 pconf->vhostdb_cache = cpv->v.v; in mod_vhostdb_merge_config_cpv()
207 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
208 const buffer * const b = cpv->v.b; in SETDEFAULTS_FUNC()
209 *(const void **)&cpv->v.v = http_vhostdb_backend_get(b); in SETDEFAULTS_FUNC()
210 if (NULL == cpv->v.v) { in SETDEFAULTS_FUNC()
219 cpv->v.v = vhostdb_cache_init(cpv->v.a); in SETDEFAULTS_FUNC()
229 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
[all …]
H A Dbase64.c93 uint_fast32_t v; in li_base64_enc() local
106 v = (in[i-2] << 16) | (in[i-1] << 8) | in[i]; in li_base64_enc()
107 out[out_pos+0] = base64_table[(v >> 18) & 0x3f]; in li_base64_enc()
108 out[out_pos+1] = base64_table[(v >> 12) & 0x3f]; in li_base64_enc()
109 out[out_pos+2] = base64_table[(v >> 6) & 0x3f]; in li_base64_enc()
110 out[out_pos+3] = base64_table[(v ) & 0x3f]; in li_base64_enc()
121 v = (in[i-2] << 4); in li_base64_enc()
122 out[out_pos+0] = base64_table[(v >> 6) & 0x3f]; in li_base64_enc()
123 out[out_pos+1] = base64_table[(v ) & 0x3f]; in li_base64_enc()
135 v = (in[i-2] << 10) | (in[i-1] << 2); in li_base64_enc()
[all …]
H A Dmod_scgi.c24 gw_plugin_config * const gw = cpv->v.v; in mod_scgi_merge_config_cpv()
32 pconf->balance = (int)cpv->v.u; in mod_scgi_merge_config_cpv()
35 pconf->debug = (int)cpv->v.u; in mod_scgi_merge_config_cpv()
38 pconf->ext_mapping = cpv->v.a; in mod_scgi_merge_config_cpv()
42 pconf->proto = (int)cpv->v.u; in mod_scgi_merge_config_cpv()
91 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
102 cpv->v.v = gw; in SETDEFAULTS_FUNC()
107 cpv->v.u = (unsigned int)gw_get_defaults_balance(srv, cpv->v.b); in SETDEFAULTS_FUNC()
114 cpv->v.u = LI_PROTOCOL_SCGI; in SETDEFAULTS_FUNC()
116 cpv->v.u = LI_PROTOCOL_UWSGI; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_vhostdb_pgsql.c186 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
188 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
191 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
204 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
242 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
243 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
247 if (cpv->v.a->used) { in SETDEFAULTS_FUNC()
248 if (0 != mod_vhostdb_dbconf_setup(srv, cpv->v.a, &cpv->v.v)) in SETDEFAULTS_FUNC()
250 if (NULL != cpv->v.v) in SETDEFAULTS_FUNC()
261 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
[all …]
H A Dmod_sockproxy.c32 gw_plugin_config * const gw = cpv->v.v; in mod_sockproxy_merge_config_cpv()
40 pconf->balance = (int)cpv->v.u; in mod_sockproxy_merge_config_cpv()
43 pconf->debug = (int)cpv->v.u; in mod_sockproxy_merge_config_cpv()
60 mod_sockproxy_merge_config(&p->conf,p->cvlist+p->cvlist[i].v.u2[0]); in mod_sockproxy_patch_config()
86 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
87 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
93 if (!gw_set_defaults_backend(srv, p, cpv->v.a, gw, 0, in SETDEFAULTS_FUNC()
98 cpv->v.v = gw; in SETDEFAULTS_FUNC()
102 cpv->v.u = (unsigned int)gw_get_defaults_balance(srv, cpv->v.b); in SETDEFAULTS_FUNC()
121 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
[all …]
H A Dmod_deflate.c287 free(cpv->v.v); in FREE_FUNC()
370 pconf->allowed_encodings = cpv->v.v; in mod_deflate_merge_config_cpv()
399 pconf->allowed_encodings = cpv->v.v; in mod_deflate_merge_config_cpv()
413 pconf->params = cpv->v.v; in mod_deflate_merge_config_cpv()
493 if (0 <= v && v <= 2) in mod_deflate_parse_params()
557 if (1 <= v && v <= 9) in mod_deflate_parse_params()
566 if (9 <= v && v <= 15) in mod_deflate_parse_params()
575 if (1 <= v && v <= 9) in mod_deflate_parse_params()
586 if (0 <= v && v <= 4) in mod_deflate_parse_params()
763 cpv->v.v = mod_deflate_encodings_to_flags(cpv->v.a); in SETDEFAULTS_FUNC()
[all …]
H A Dmod_vhostdb_mysql.c208 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
210 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
213 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
226 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
264 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
265 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
269 if (cpv->v.a->used) { in SETDEFAULTS_FUNC()
270 if (0 != mod_vhostdb_dbconf_setup(srv, cpv->v.a, &cpv->v.v)) in SETDEFAULTS_FUNC()
272 if (NULL != cpv->v.v) in SETDEFAULTS_FUNC()
283 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
[all …]
H A Dmod_evhost.c57 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
59 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
62 mod_evhost_free_path_pieces(cpv->v.v); in FREE_FUNC()
136 pconf->path_pieces = cpv->v.v; in mod_evhost_merge_config_cpv()
174 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
175 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
179 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
180 const char * const ptr = cpv->v.b->ptr; in SETDEFAULTS_FUNC()
181 cpv->v.v = mod_evhost_parse_pattern(ptr); in SETDEFAULTS_FUNC()
182 if (NULL == cpv->v.v) { in SETDEFAULTS_FUNC()
[all …]
H A Dmod_vhostdb_dbi.c245 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
247 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
250 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
263 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
301 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
302 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
306 if (cpv->v.a->used) { in SETDEFAULTS_FUNC()
307 if (0 != mod_vhostdb_dbconf_setup(srv, cpv->v.a, &cpv->v.v)) in SETDEFAULTS_FUNC()
309 if (NULL != cpv->v.v) in SETDEFAULTS_FUNC()
320 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
[all …]
H A Dmod_simple_vhost.c40 pconf->server_root = cpv->v.b; in mod_simple_vhost_merge_config_cpv()
43 pconf->default_host = cpv->v.b; in mod_simple_vhost_merge_config_cpv()
46 pconf->document_root = cpv->v.b; in mod_simple_vhost_merge_config_cpv()
49 pconf->debug = cpv->v.shrt; in mod_simple_vhost_merge_config_cpv()
97 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
103 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
105 *(const buffer **)&b = cpv->v.b; in SETDEFAULTS_FUNC()
109 cpv->v.b = NULL; in SETDEFAULTS_FUNC()
112 if (buffer_is_blank(cpv->v.b)) in SETDEFAULTS_FUNC()
113 cpv->v.b = NULL; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_authn_dbi.c225 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
228 mod_authn_dbi_dbconf_free(cpv->v.v); in FREE_FUNC()
244 pconf->vdata = cpv->v.v; in mod_authn_dbi_merge_config_cpv()
296 if (0 != mod_authn_dbi_dbconf_setup(srv,cpv->v.a,&cpv->v.v)) in SETDEFAULTS_FUNC()
298 if (NULL != cpv->v.v) in SETDEFAULTS_FUNC()
442 const char *v; in mod_authn_dbi_query_build() local
448 v = buf; in mod_authn_dbi_query_build()
457 v = buf; in mod_authn_dbi_query_build()
464 v = "SHA-256"; in mod_authn_dbi_query_build()
466 v = "MD5"; in mod_authn_dbi_query_build()
[all …]
H A Dmod_indexfile.c32 pconf->indexfiles = cpv->v.a; in mod_indexfile_merge_config_cpv()
72 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
73 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC()
84 const buffer * const v = &((data_string *)indexfiles->data[k])->value; in __attribute_nonnull__() local
85 buffer * const b = (v->ptr[0] != '/') in __attribute_nonnull__()
93 buffer_append_path_len(b, BUF_PTR_LEN(v)); in __attribute_nonnull__()
118 if (v->ptr[0] == '/') { in __attribute_nonnull__()
120 buffer_copy_buffer(&r->uri.path, v); in __attribute_nonnull__()
125 BUF_PTR_LEN(v)); in __attribute_nonnull__()
130 buffer_append_string_buffer(&r->uri.path, v); in __attribute_nonnull__()
[all …]
H A Drequest.c363 *err = v+i; in li_restricted_strtoint64()
374 if (vb && buffer_eq_icase_slen(vb, v, vlen)) in http_request_parse_duplicate()
465 if (err == v+vlen) { in http_request_parse_single_header()
638 const char * restrict v = hpctx->v; in http_request_parse_header() local
736 if (v[4]!='s') break; in http_request_parse_header()
739 if (v[0]=='h' && v[1]=='t' && v[2]=='t' && v[3]=='p') { in http_request_parse_header()
788 while ((*v == ' ' || *v == '\t') && (++v, --vlen)) ; in http_request_parse_header()
793 while (v[vlen-1] == ' ' || v[vlen-1] == '\t') --vlen; in http_request_parse_header()
1122 const char *v = colon + 1; in http_request_parse_headers() local
1163 while (*v == ' ' || *v == '\t') ++v; in http_request_parse_headers()
[all …]
H A Dmod_authn_sasl.c65 for (int i = !p->cvlist[0].v.u2[1], used = p->nconfig; i < used; ++i) { in FREE_FUNC()
66 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC()
70 if (cpv->vtype == T_CONFIG_LOCAL) free(cpv->v.v); in FREE_FUNC()
83 memcpy(pconf, cpv->v.v, sizeof(plugin_config)); in mod_authn_sasl_merge_config_cpv()
102 p->cvlist + p->cvlist[i].v.u2[0]); in mod_authn_sasl_patch_config()
184 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
185 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC()
189 if (cpv->v.a->used) { in SETDEFAULTS_FUNC()
190 cpv->v.v = mod_authn_sasl_parse_opts(srv, cpv->v.a); in SETDEFAULTS_FUNC()
191 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
[all …]
H A Dmod_rrdtool.c53 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in mod_rrd_free_config()
57 if (cpv->vtype == T_CONFIG_LOCAL) free(cpv->v.v); in mod_rrd_free_config()
137 if (cpv->vtype == T_CONFIG_LOCAL) pconf->rrd = cpv->v.v; in mod_rrd_merge_config_cpv()
183 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in SETDEFAULTS_FUNC()
188 if (!buffer_is_blank(cpv->v.b)) { in SETDEFAULTS_FUNC()
190 rrd->path_rrd = cpv->v.b; in SETDEFAULTS_FUNC()
191 cpv->v.v = rrd; in SETDEFAULTS_FUNC()
197 if (!buffer_is_blank(cpv->v.b)) in SETDEFAULTS_FUNC()
207 if (p->nconfig > 0 && p->cvlist->v.u2[1]) { in SETDEFAULTS_FUNC()
374 for (int i = !p->cvlist[0].v.u2[1]; i < p->nconfig; ++i) { in mod_rrd_write_data_loop()
[all …]
H A Dconfigfile-glue.c97 long v = strtol(b->ptr, &err, 10); in config_plugin_value_to_int32() local
98 return (*err=='\0' && err != b->ptr && INT32_MIN <= v && v <= INT32_MAX) in config_plugin_value_to_int32()
99 ? (int32_t)v in config_plugin_value_to_int32()
197 cpv->v.shrt = in config_plugin_values_init_block()
208 if (v && *v) { in config_plugin_values_init_block()
210 long l = strtol(v, &e, 10); in config_plugin_values_init_block()
236 if (v && *v) { in config_plugin_values_init_block()
260 if (-1 == v) { in config_plugin_values_init_block()
267 cpv->v.u = v; in config_plugin_values_init_block()
356 cpv->v.u2[0] = elts; in config_plugin_values_init()
[all …]
H A Dmod_dirlisting.c276 pcre_keyvalue_buffer_free(cpv->v.v); in FREE_FUNC()
280 free(cpv->v.v); in FREE_FUNC()
297 pconf->excludes = cpv->v.v; in mod_dirlisting_merge_config_cpv()
337 pconf->cache = cpv->v.v; in mod_dirlisting_merge_config_cpv()
427 cpv->v.v = mod_dirlisting_parse_excludes(srv, cpv->v.a); in SETDEFAULTS_FUNC()
428 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
476 cpv->v.v = mod_dirlisting_parse_cache(srv, cpv->v.a); in SETDEFAULTS_FUNC()
477 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
478 if (0 == ((struct dirlist_cache *)cpv->v.v)->max_age) { in SETDEFAULTS_FUNC()
479 free(cpv->v.v); in SETDEFAULTS_FUNC()
[all …]
H A Dmod_accesslog.c291 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
297 mod_accesslog_free_format_fields(cpv->v.v); in FREE_FUNC()
314 pconf->fdlog = cpv->v.v; in mod_accesslog_merge_config_cpv()
319 pconf->parsed_format = cpv->v.v; in mod_accesslog_merge_config_cpv()
391 cpv->v.v = NULL; in SETDEFAULTS_FUNC()
419 cpv->v.v = in SETDEFAULTS_FUNC()
421 if (NULL == cpv->v.v) return HANDLER_ERROR; in SETDEFAULTS_FUNC()
431 cpv->v.u = (0 == strcmp(cpv->v.b->ptr, "json")) in SETDEFAULTS_FUNC()
447 cpv->v.v = fdlog_open(fn); in SETDEFAULTS_FUNC()
449 if (NULL == cpv->v.v) { in SETDEFAULTS_FUNC()
[all …]

123