Lines Matching refs:cpv
245 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC() local
246 for (; -1 != cpv->k_id; ++cpv) { in FREE_FUNC()
247 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
248 switch (cpv->k_id) { in FREE_FUNC()
250 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
259 …od_vhostdb_merge_config_cpv(plugin_config * const pconf, const config_plugin_value_t * const cpv) { in mod_vhostdb_merge_config_cpv() argument
260 switch (cpv->k_id) { /* index into static config_plugin_keys_t cpk[] */ in mod_vhostdb_merge_config_cpv()
262 if (cpv->vtype == T_CONFIG_LOCAL) in mod_vhostdb_merge_config_cpv()
263 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
270 static void mod_vhostdb_merge_config(plugin_config * const pconf, const config_plugin_value_t *cpv)… in mod_vhostdb_merge_config() argument
272 mod_vhostdb_merge_config_cpv(pconf, cpv); in mod_vhostdb_merge_config()
273 } while ((++cpv)->k_id != -1); in mod_vhostdb_merge_config()
302 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC() local
303 for (; -1 != cpv->k_id; ++cpv) { in SETDEFAULTS_FUNC()
304 switch (cpv->k_id) { 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()
310 cpv->vtype = T_CONFIG_LOCAL; in SETDEFAULTS_FUNC()
321 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC() local
322 if (-1 != cpv->k_id) in SETDEFAULTS_FUNC()
323 mod_vhostdb_merge_config(&p->defaults, cpv); in SETDEFAULTS_FUNC()