Ns_Cache* Ns_CacheCreate (
Create a new cache with the specified
keys argument is the size of the cache key in system words. The
timeout argument is the time for cache entries to live. The
freeProc argument is the Ns_Callback to free cache entry data.
For a good example of how to use the Ns_Cache* functions, look at nsd/fastpath.c.