Lines Matching refs:cpv
37 …mple_vhost_merge_config_cpv(plugin_config * const pconf, const config_plugin_value_t * const cpv) { in mod_simple_vhost_merge_config_cpv() argument
38 switch (cpv->k_id) { /* index into static config_plugin_keys_t cpk[] */ in mod_simple_vhost_merge_config_cpv()
40 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()
56 …void mod_simple_vhost_merge_config(plugin_config * const pconf, const config_plugin_value_t *cpv) { in mod_simple_vhost_merge_config() argument
58 mod_simple_vhost_merge_config_cpv(pconf, cpv); in mod_simple_vhost_merge_config()
59 } while ((++cpv)->k_id != -1); in mod_simple_vhost_merge_config()
98 config_plugin_value_t *cpv = p->cvlist + p->cvlist[i].v.u2[0]; in SETDEFAULTS_FUNC() local
99 for (; -1 != cpv->k_id; ++cpv) { in SETDEFAULTS_FUNC()
100 switch (cpv->k_id) { 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()
124 const config_plugin_value_t *cpv = p->cvlist + p->cvlist->v.u2[0]; in SETDEFAULTS_FUNC() local
125 if (-1 != cpv->k_id) in SETDEFAULTS_FUNC()
126 mod_simple_vhost_merge_config(&p->defaults, cpv); in SETDEFAULTS_FUNC()