6 transrecord_t *transStart()
8 transrecord_t *tmp = malloc(sizeof(transrecord_t));
9 tmp->cache = objstrCreate(1048576);
10 tmp->lookupTable = cachehashCreate(HASH_SIZE, LOADFACTOR);
14 objheader_t *transRead(transrecord_t *record, unsigned int oid)
17 //else check machine lookup table
18 //else check location lookup table
22 objheader_t *transCreateObj(transrecord_t *record, unsigned short type)
24 objheader_t *tmp = objstrAlloc(record->cache, classsize[type]);
25 tmp->oid = getNewOID();
28 tmp->rcount = 0; //? not sure how to handle this yet
30 cachehashInsert(record->lookupTable, tmp->oid, tmp);
34 int transCommit(transrecord_t *record)