|
|
Ns_Cache* Ns_CacheCreateSz (char* name,int keys,size_t maxsize,Ns_Callback* freeProc);
Create a new size-based cache (a cache that has a maximum size in bytes, specified by the maxsize argument). The keys argument is TCL_STRING_KEYS or TCL_ONE_WORD_KEYS or an integer >=2, which is the number of machine words needed to store a cache key. The freeProc argument is the Ns_Callback to free cache entry data.