Lines Matching refs:vtable
78 static apr_status_t dbm_open_type(apr_dbm_type_t const* * vtable,
84 *vtable = NULL;
85 if (!strcasecmp(type, "default")) *vtable = &DBM_VTABLE;
87 else if (!strcasecmp(type, "db")) *vtable = &apr_dbm_type_db;
91 if (*type == 'G' || *type == 'g') *vtable = &apr_dbm_type_gdbm;
94 if (*type == 'N' || *type == 'n') *vtable = &apr_dbm_type_ndbm;
97 if (*type == 'S' || *type == 's') *vtable = &apr_dbm_type_sdbm;
101 if (*vtable)
151 *vtable = NULL;
155 *vtable = apr_hash_get(drivers, type, APR_HASH_KEY_STRING);
156 if (*vtable) {
178 *vtable = symbol;
181 apr_hash_set(drivers, type, APR_HASH_KEY_STRING, *vtable);
185 *vtable = NULL;
199 apr_dbm_type_t const* vtable = NULL;
200 apr_status_t rv = dbm_open_type(&vtable, type, pool);
203 rv = (vtable->open)(pdb, pathname, mode, perm, pool);
278 apr_dbm_type_t const* vtable;
279 apr_status_t rv = dbm_open_type(&vtable, type, p);
282 (vtable->getusednames)(p, pathname, used1, used2);