Lines Matching refs:dba
30 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
81 tcadbclose(dba->tcadb); in DBA_CLOSE_FUNC()
82 tcadbdel(dba->tcadb); in DBA_CLOSE_FUNC()
83 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
92 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC()
111 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC()
116 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
132 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC()
145 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
154 tcadbiterinit(dba->tcadb); in DBA_FIRSTKEY_FUNC()
156 value = tcadbiternext(dba->tcadb, &value_size); in DBA_FIRSTKEY_FUNC()
174 value = tcadbiternext(dba->tcadb, &value_size); in DBA_NEXTKEY_FUNC()
191 return tcadboptimize(dba->tcadb, NULL) ? SUCCESS : FAILURE; in DBA_OPTIMIZE_FUNC()
201 return tcadbsync(dba->tcadb) ? SUCCESS : FAILURE; in DBA_SYNC_FUNC()