Lines Matching refs:dba
32 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
83 tcadbclose(dba->tcadb); in DBA_CLOSE_FUNC()
84 tcadbdel(dba->tcadb); in DBA_CLOSE_FUNC()
85 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
94 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC()
113 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC()
118 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
134 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
147 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
156 tcadbiterinit(dba->tcadb); in DBA_FIRSTKEY_FUNC()
158 value = tcadbiternext(dba->tcadb, &value_size); in DBA_FIRSTKEY_FUNC()
176 value = tcadbiternext(dba->tcadb, &value_size); in DBA_NEXTKEY_FUNC()
193 return tcadboptimize(dba->tcadb, NULL) ? SUCCESS : FAILURE; in DBA_OPTIMIZE_FUNC()
203 return tcadbsync(dba->tcadb) ? SUCCESS : FAILURE; in DBA_SYNC_FUNC()