Lines Matching defs:cfg
76 static const char *authz_dbd_prepare(cmd_parms *cmd, void *cfg,
97 return ap_set_string_slot(cmd, cfg, label);
112 static int authz_dbd_login(request_rec *r, authz_dbd_cfg *cfg,
124 if (cfg->query == NULL) {
129 query = apr_hash_get(dbd->prepared, cfg->query, APR_HASH_KEY_STRING);
153 if (cfg->redirect == 1) {
157 if (!newuri && cfg->redir_query) {
158 query = apr_hash_get(dbd->prepared, cfg->redir_query,
197 static int authz_dbd_group_query(request_rec *r, authz_dbd_cfg *cfg,
209 if (cfg->query == NULL) {
214 query = apr_hash_get(dbd->prepared, cfg->query, APR_HASH_KEY_STRING);
262 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config,
271 rv = authz_dbd_group_query(r, cfg, groups);
302 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config,
309 return (authz_dbd_login(r, cfg, "login") == OK ? AUTHZ_GRANTED : AUTHZ_DENIED);
316 authz_dbd_cfg *cfg = ap_get_module_config(r->per_dir_config,
323 return (authz_dbd_login(r, cfg, "logout") == OK ? AUTHZ_GRANTED : AUTHZ_DENIED);