[an error occurred while processing this directive]
ALGORITHM_DESCRIPTION
allocate a TableStructure with malloc set all of the hash lists of the TableStructure to null return the pointer to the TableStructure
parameter: Table tbl clear tbl cfree tbl
parameter: Table tbl parameter: char * k FIXME
parameter: Table tbl
parameter: char * k
if tbl->cacheKey is null or tbl->cacheKey is not the same as k
call isKey with parameters tbl and k
if tbl->cachePointer is null
terminate the program with a precondition violation error message
return tbl->cachePointer->data
parameter: Table tbl
parameter: char * k
parameter: Data dat
if tbl->cacheKey is null or tbl->cacheKey is not the same as k
call isKey with parameters tbl and k
if tbl->cachePointer is not null
terminate the program with a precondition violation error message
get a new HashListNode with key k and data dat
insert it at the beginning of tbl->hashList[cacheHashVal]
parameter: Table tbl
parameter: char * k
if tbl->cacheKey is null or tbl->cacheKey is not the same as k
call isKey with parameters tbl and k
if tbl->cachePointer is null
terminate the program with a precondition violation error message
if tbl->cacheTrailer is null
else
remove the HashListNode that is linked to tbl->cacheTrailer
parameter: Table tbl FIXME