Lines Matching refs:cpv
186 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in FREE_FUNC() local
187 for (; -1 != cpv->k_id; ++cpv) { in FREE_FUNC()
188 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
189 switch (cpv->k_id) { in FREE_FUNC()
191 mod_vhostdb_dbconf_free(cpv->v.v); in FREE_FUNC()
200 …od_vhostdb_merge_config_cpv(plugin_config * const pconf, const config_plugin_value_t * const cpv) { in mod_vhostdb_merge_config_cpv() argument
201 switch (cpv->k_id) { /* index into static config_plugin_keys_t cpk[] */ in mod_vhostdb_merge_config_cpv()
203 if (cpv->vtype == T_CONFIG_LOCAL) in mod_vhostdb_merge_config_cpv()
204 pconf->vdata = cpv->v.v; in mod_vhostdb_merge_config_cpv()
211 static void mod_vhostdb_merge_config(plugin_config * const pconf, const config_plugin_value_t *cpv)… in mod_vhostdb_merge_config() argument
213 mod_vhostdb_merge_config_cpv(pconf, cpv); in mod_vhostdb_merge_config()
214 } while ((++cpv)->k_id != -1); in mod_vhostdb_merge_config()
243 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC() local
244 for (; -1 != cpv->k_id; ++cpv) { in SETDEFAULTS_FUNC()
245 switch (cpv->k_id) { 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()
251 cpv->vtype = T_CONFIG_LOCAL; in SETDEFAULTS_FUNC()
262 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC() local
263 if (-1 != cpv->k_id) in SETDEFAULTS_FUNC()
264 mod_vhostdb_merge_config(&p->defaults, cpv); in SETDEFAULTS_FUNC()