Lines Matching refs:cpv

208         config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0];  in FREE_FUNC()  local
209 for (; -1 != cpv->k_id; ++cpv) { in FREE_FUNC()
210 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
211 switch (cpv->k_id) { in FREE_FUNC()
213 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
222 …od_vhostdb_merge_config_cpv(plugin_config * const pconf, const config_plugin_value_t * const cpv) { in mod_vhostdb_merge_config_cpv() argument
223 switch (cpv->k_id) { /* index into static config_plugin_keys_t cpk[] */ in mod_vhostdb_merge_config_cpv()
225 if (cpv->vtype == T_CONFIG_LOCAL) in mod_vhostdb_merge_config_cpv()
226 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
233 static void mod_vhostdb_merge_config(plugin_config * const pconf, const config_plugin_value_t *cpv)… in mod_vhostdb_merge_config() argument
235 mod_vhostdb_merge_config_cpv(pconf, cpv); in mod_vhostdb_merge_config()
236 } while ((++cpv)->k_id != -1); in mod_vhostdb_merge_config()
265 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC() local
266 for (; -1 != cpv->k_id; ++cpv) { in SETDEFAULTS_FUNC()
267 switch (cpv->k_id) { 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()
273 cpv->vtype = T_CONFIG_LOCAL; in SETDEFAULTS_FUNC()
284 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC() local
285 if (-1 != cpv->k_id) in SETDEFAULTS_FUNC()
286 mod_vhostdb_merge_config(&p->defaults, cpv); in SETDEFAULTS_FUNC()