Lines Matching refs:dbtype
156 if (global.dbtype & DB_TYPE_MEMORY) dbselect = DB_TYPE_MEMORY;
157 else if (global.dbtype & DB_TYPE_FILE) dbselect = DB_TYPE_FILE;
327 if ((global.dbtype & DB_TYPE_FILE) == 0)
338 if ((global.dbtype & DB_TYPE_MEMORY) == 0)
364 snprintf(str, sizeof(str), "file database is %senabled\n", (global.dbtype & DB_TYPE_FILE) ? "" : "not ");
366 if ((global.dbtype & DB_TYPE_FILE) != 0) dbselect = DB_TYPE_FILE;
370 if (!strcmp(p, "on")) global.dbtype |= DB_TYPE_FILE;
371 else if (!strcmp(p, "off")) global.dbtype &= ~ DB_TYPE_FILE;
383 snprintf(str, sizeof(str), "memory database is %senabled\n", (global.dbtype & DB_TYPE_MEMORY) ? "" : "not ");
385 if ((global.dbtype & DB_TYPE_MEMORY) != 0) dbselect = DB_TYPE_MEMORY;
389 if (!strcmp(p, "on")) global.dbtype |= DB_TYPE_MEMORY;
390 else if (!strcmp(p, "off")) global.dbtype &= ~ DB_TYPE_MEMORY;