33
41
/* specify pointers to call-back functions that create a value, given
34
42
/* a key, and delete a given value, respectively. The context argument
35
43
/* is passed on to the call-back routines.
37
46
/* ctable_locate() looks up or generates the value that corresponds to
38
47
/* the specified key, and returns that value.
40
55
/* ctable_free() destroys the specified cache, including its contents.
42
57
/* ctable_walk() iterates over all elements in the cache, and invokes
43
58
/* the action function for each cache element with the corresponding
44
59
/* key and value as arguments. This function is useful mainly for
45
60
/* cache performance debugging.
47
63
/* Fatal errors: out of memory. Panic: interface violation.