Lines Matching refs:dba
34 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
85 tcadbclose(dba->tcadb); in DBA_CLOSE_FUNC()
86 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
95 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC()
114 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC()
119 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
135 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
148 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
157 tcadbiterinit(dba->tcadb); in DBA_FIRSTKEY_FUNC()
159 value = tcadbiternext(dba->tcadb, &value_size); in DBA_FIRSTKEY_FUNC()
177 value = tcadbiternext(dba->tcadb, &value_size); in DBA_NEXTKEY_FUNC()
194 return tcadboptimize(dba->tcadb, NULL) ? SUCCESS : FAILURE; in DBA_OPTIMIZE_FUNC()
204 return tcadbsync(dba->tcadb) ? SUCCESS : FAILURE; in DBA_SYNC_FUNC()