Lines Matching refs:dba
32 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
83 tcadbclose(dba->tcadb); in DBA_CLOSE_FUNC()
84 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
93 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC()
112 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC()
117 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
133 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
146 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
155 tcadbiterinit(dba->tcadb); in DBA_FIRSTKEY_FUNC()
157 value = tcadbiternext(dba->tcadb, &value_size); in DBA_FIRSTKEY_FUNC()
175 value = tcadbiternext(dba->tcadb, &value_size); in DBA_NEXTKEY_FUNC()
192 return tcadboptimize(dba->tcadb, NULL) ? SUCCESS : FAILURE; in DBA_OPTIMIZE_FUNC()
202 return tcadbsync(dba->tcadb) ? SUCCESS : FAILURE; in DBA_SYNC_FUNC()