modperl_dir_config_t *dir_cfg = (modperl_dir_config_t *)cfg;
modperl_config_dir_t *dir_cfg = (modperl_config_dir_t *)cfg;
static int modperl_hash_handlers_dir(apr_pool_t *p, server_rec *s,                                     void *cfg, char *d, void *data){#ifdef USE_ITHREADS    MP_dSCFG(s);    MP_dSCFG_dTHX;#endif    int i;    modperl_dir_config_t *dir_cfg = (modperl_dir_config_t *)cfg;    if (!dir_cfg) {        return 1;    }    for (i=0; i < MP_PER_DIR_NUM_HANDLERS; i++) {        modperl_hash_handlers(aTHX_ p, s, dir_cfg->handlers[i], data);    }    return 1;}